diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-07-13 16:39:01 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-07-13 16:39:01 +0200 |
commit | 28fb362147358819afeb0f0a5fa7a4ad136499ac (patch) | |
tree | 4c4224f503f66fcea1e25b464daf0f9659a09bab /db/user | |
parent | 919cdce6bcf12f564901ea536dae4227d025b031 (diff) |
ignore terms
Diffstat (limited to 'db/user')
-rw-r--r-- | db/user/init.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/user/init.sql b/db/user/init.sql index 1d0e830..af60fa3 100644 --- a/db/user/init.sql +++ b/db/user/init.sql @@ -4,6 +4,8 @@ create table if not exists user ( unique(username) ); +insert into user (id, username) values (0, 'root'); + create table if not exists sort_overlay ( id integer primary key autoincrement, user_id int not null default 0, @@ -14,3 +16,6 @@ create table if not exists sort_overlay ( unique(user_id, expression, reading) on conflict replace ); +create index sort_overlay_expression on sort_overlay (expression); +create index sort_overlay_reading on sort_overlay (reading); + |