PlainSQLiteBlog/db/sqlite/create_users_table.sql

8 lines
298 B
SQL

CREATE table if not exists users (
id integer primary key autoincrement,
username text not null,
hash text not null,
can_post integer not null default 0,
is_admin integer not null default 0,
created timestamp not null default current_timestamp)