Add system time zone designation. Closes #21.

This commit is contained in:
Ske 2018-12-18 19:38:53 +01:00
parent e8d1c5bf90
commit 570899928a
8 changed files with 89 additions and 13 deletions

View file

@ -334,7 +334,8 @@ async def create_tables(conn):
tag text,
avatar_url text,
token text,
created timestamp not null default (current_timestamp at time zone 'utc')
created timestamp not null default (current_timestamp at time zone 'utc'),
ui_tz text not null default 'UTC'
)""")
await conn.execute("""create table if not exists members (
id serial primary key,