Changeset fb894b4 in network-game for server/dbmod.txt


Ignore:
Timestamp:
Oct 17, 2014, 1:10:56 AM (10 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
master
Children:
84754c0
Parents:
81c4e8a
Message:

Change server exe name and clean up the db schema

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/dbmod.txt

    r81c4e8a rfb894b4  
    11SQL statements for creating the db tables are stored here
    22
    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` (
     3CREATE TABLE users (
    104   id INT NOT NULL AUTO_INCREMENT,
    115   name varchar(64) NOT NULL,
     
    1913   PRIMARY KEY (id),
    2014   UNIQUE KEY name (name)
    21 }
     15);
    2216
    2317
Note: See TracChangeset for help on using the changeset viewer.