fotostore/sql/deploy/users.sql
2017-07-22 18:33:04 +09:00

14 lines
295 B
PL/PgSQL

-- Deploy fotostore:users to sqlite
BEGIN;
CREATE TABLE users (
nickname TEXT,
password TEXT NOT NULL,
fullname TEXT NOT NULL,
timestamp DATETIME NOT NULL
DEFAULT CURRENT_TIMESTAMP,
user_id INTEGER PRIMARY KEY AUTOINCREMENT
);
COMMIT;