beautiy init user query
This commit is contained in:
parent
24cdc4a53c
commit
73eae1d8fd
1 changed files with 10 additions and 10 deletions
|
@ -35,16 +35,16 @@ import Types.Reader
|
|||
|
||||
initUser :: PGS.Query
|
||||
initUser = mconcat
|
||||
[ "create table if not exists \"user\" ("
|
||||
, "user_id serial primary key,"
|
||||
, "user_ident text not null,"
|
||||
, "user_balance integer not null,"
|
||||
, "user_timestamp date not null,"
|
||||
, "user_email text,"
|
||||
, "user_avatar integer,"
|
||||
, "user_salt bytea not null,"
|
||||
, "user_hash bytea,"
|
||||
, "user_algo integer"
|
||||
[ "CREATE TABLE IF NOT EXISTS \"user\" ("
|
||||
, "user_id SERIAL PRIMARY KEY,"
|
||||
, "user_ident TEXT NOT NULL,"
|
||||
, "user_balance INTEGER NOT NULL,"
|
||||
, "user_timestamp DATE NOT NULL,"
|
||||
, "user_email TEXT,"
|
||||
, "user_avatar INTEGER,"
|
||||
, "user_salt BYTEA NOT NULL,"
|
||||
, "user_hash BYTEA,"
|
||||
, "user_algo INTEGER"
|
||||
, ")"
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue