blob: e4d3f28b8d72e5637c314e64b1177efc74eff246 (
plain)
1
2
3
4
5
6
|
CREATE TABLE shipyards (
id INTEGER PRIMARY KEY,
data JSON NOT NULL,
updated DATE DEFAULT NULL
);
CREATE UNIQUE INDEX shipyards_data_symbol on shipyards (json_extract(data, '$.symbol'));
|