[javascript] added database function to fetch all the ships present in a specific system
This commit is contained in:
parent
4551c1a2dd
commit
e52662f829
2 changed files with 11 additions and 0 deletions
|
@ -3,3 +3,4 @@ CREATE TABLE ships (
|
|||
data JSON NOT NULL
|
||||
);
|
||||
CREATE UNIQUE INDEX ships_data_symbol ON ships (json_extract(data, '$.symbol'));
|
||||
CREATE INDEX ships_data_nav_systemSymbol ON ships (json_extract(data, '$.nav.systemSymbol'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue