You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
469 B
15 lines
469 B
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE TABLE user (id INTEGER PRIMARY KEY, username TEXT UNIQUE NOT NULL, email TEXT UNIQUE, password TEXT NOT NULL);
|
|
PRAGMA foreign_keys = ON;
|
|
PRAGMA journal_mode = WAL;
|
|
PRAGMA synchronous = NORMAL;
|
|
PRAGMA mmap_size = 134217728; -- 128 megabytes
|
|
PRAGMA journal_size_limig = 67108864; -- 64 megabytes
|
|
PRAGMA cache_size = 2000;
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
DROP TABLE user;
|
|
-- +goose StatementEnd
|
|
|