Add the TurfWar schema

This commit is contained in:
Justine Tunney 2022-10-08 03:23:21 -07:00
parent 672ccda37c
commit 38e3ab57a6
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

8
net/turfwar/schema.sql Normal file
View 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;