Changeset fb894b4 in network-game for server/dbmod.txt
- Timestamp:
- Oct 17, 2014, 1:10:56 AM (10 years ago)
- Branches:
- master
- Children:
- 84754c0
- Parents:
- 81c4e8a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/dbmod.txt
r81c4e8a rfb894b4 1 1 SQL statements for creating the db tables are stored here 2 2 3 CREATE TABLE users( 4 id INT NOT NULL AUTO_INCREMENT, 5 wins INT NOT NULL DEFAULT 0, 6 losses INT NOT NULL DEFAULT 0 7 ); 8 9 CREATE TABLE `users` ( 3 CREATE TABLE users ( 10 4 id INT NOT NULL AUTO_INCREMENT, 11 5 name varchar(64) NOT NULL, … … 19 13 PRIMARY KEY (id), 20 14 UNIQUE KEY name (name) 21 } 15 ); 22 16 23 17
Note:
See TracChangeset
for help on using the changeset viewer.