diff options
Diffstat (limited to 'src/sql/postgresql/createTables.sql')
-rw-r--r-- | src/sql/postgresql/createTables.sql | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sql/postgresql/createTables.sql b/src/sql/postgresql/createTables.sql index 278790a2..53526dc3 100644 --- a/src/sql/postgresql/createTables.sql +++ b/src/sql/postgresql/createTables.sql @@ -110,10 +110,11 @@ CREATE TABLE mana_quests CREATE TABLE mana_world_states ( - state_name TEXT PRIMARY KEY, - map_id INTEGER NULL, - value TEXT NULL, - moddate INTEGER NOT NULL + state_name TEXT NOT NULL, + map_id INTEGER NOT NULL, + value TEXT NOT NULL, + moddate INTEGER NOT NULL, + PRIMARY KEY (`state_name`, `map_id`) ); INSERT INTO "mana_world_states" VALUES('accountserver_startup',NULL,NULL,1221633910); |