lower case all the sql
This commit is contained in:
parent
8abd5973cc
commit
c7c5001e53
20
schema.sql
20
schema.sql
|
@ -1,8 +1,8 @@
|
|||
|
||||
CREATE TABLE honks (honkid integer primary key, userid integer, what text, honker text, xid text, rid text, dt text, url text, audience text, noise text);
|
||||
CREATE TABLE donks (honkid integer, fileid integer);
|
||||
CREATE TABLE files(fileid integer primary key, xid text, name text, url text, media text, content blob);
|
||||
CREATE TABLE honkers (honkerid integer primary key, userid integer, name text, xid text, flavor text, pubkey text);
|
||||
create table honks (honkid integer primary key, userid integer, what text, honker text, xid text, rid text, dt text, url text, audience text, noise text);
|
||||
create table donks (honkid integer, fileid integer);
|
||||
create table files(fileid integer primary key, xid text, name text, url text, media text, content blob);
|
||||
create table honkers (honkerid integer primary key, userid integer, name text, xid text, flavor text, pubkey text);
|
||||
create table doovers(dooverid integer primary key, dt text, tries integer, username text, rcpt text, msg blob);
|
||||
|
||||
create index idx_honksxid on honks(xid);
|
||||
|
@ -11,11 +11,11 @@ create index idx_honkerxid on honkers(xid);
|
|||
create index idx_filesxid on files(xid);
|
||||
create index idx_filesurl on files(url);
|
||||
|
||||
CREATE TABLE config (key text, value text);
|
||||
create table config (key text, value text);
|
||||
|
||||
CREATE TABLE users (userid integer primary key, username text, hash text, displayname text, about text, pubkey text, seckey text);
|
||||
CREATE TABLE auth (authid integer primary key, userid integer, hash text);
|
||||
CREATE INDEX idxusers_username on users(username);
|
||||
CREATE INDEX idxauth_userid on auth(userid);
|
||||
CREATE INDEX idxauth_hash on auth(hash);
|
||||
create table users (userid integer primary key, username text, hash text, displayname text, about text, pubkey text, seckey text);
|
||||
create table auth (authid integer primary key, userid integer, hash text);
|
||||
CREATE index idxusers_username on users(username);
|
||||
CREATE index idxauth_userid on auth(userid);
|
||||
CREATE index idxauth_hash on auth(hash);
|
||||
|
||||
|
|
Loading…
Reference in New Issue