summaryrefslogtreecommitdiff
path: root/nodejs/database/002_ships.sql
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nodejs/database/002_ships.sql3
1 files changed, 1 insertions, 2 deletions
diff --git a/nodejs/database/002_ships.sql b/nodejs/database/002_ships.sql
index 3ead742..32b6ffb 100644
--- a/nodejs/database/002_ships.sql
+++ b/nodejs/database/002_ships.sql
@@ -1,6 +1,5 @@
CREATE TABLE ships (
id INTEGER PRIMARY KEY,
- data JSON NOT NULL,
- updated DATE DEFAULT NULL
+ data JSON NOT NULL
);
CREATE UNIQUE INDEX ships_data_symbol ON ships (json_extract(data, '$.symbol'));