diff options
Diffstat (limited to 'haskell/src/SpaceTraders/Database')
-rw-r--r-- | haskell/src/SpaceTraders/Database/000_init.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/src/SpaceTraders/Database/000_init.sql b/haskell/src/SpaceTraders/Database/000_init.sql index 08a8553..47f28c3 100644 --- a/haskell/src/SpaceTraders/Database/000_init.sql +++ b/haskell/src/SpaceTraders/Database/000_init.sql @@ -14,7 +14,7 @@ CREATE TABLE contracts ( data TEXT NOT NULL ); CREATE UNIQUE INDEX contracts_data_id ON contracts (json_extract(data, '$.id')); -CREATE UNIQUE INDEX contracts_data_fulfilled ON contracts (json_extract(data, '$.fulfilled')); +CREATE INDEX contracts_data_fulfilled ON contracts (json_extract(data, '$.fulfilled')); CREATE TABLE ships ( id INTEGER PRIMARY KEY, data TEXT NOT NULL |