mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Add the TurfWar schema
This commit is contained in:
parent
672ccda37c
commit
38e3ab57a6
1 changed files with 8 additions and 0 deletions
8
net/turfwar/schema.sql
Normal file
8
net/turfwar/schema.sql
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
CREATE TABLE land (
|
||||||
|
ip INTEGER PRIMARY KEY,
|
||||||
|
nick TEXT NOT NULL,
|
||||||
|
created INTEGER
|
||||||
|
);
|
||||||
|
|
||||||
|
CREATE INDEX land_by_name ON land (nick);
|
||||||
|
CREATE INDEX land_by_created ON land (created DESC) WHERE created NOT NULL;
|
Loading…
Reference in a new issue