summaryrefslogtreecommitdiffstats
path: root/src/sql/sqlite/createTables.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql/sqlite/createTables.sql')
-rw-r--r--src/sql/sqlite/createTables.sql10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/sql/sqlite/createTables.sql b/src/sql/sqlite/createTables.sql
index 9a9dfe2..a5822f3 100644
--- a/src/sql/sqlite/createTables.sql
+++ b/src/sql/sqlite/createTables.sql
@@ -250,10 +250,12 @@ 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)
);
-----------------------------------------------------------------------------