15 lines
336 B
SQL
15 lines
336 B
SQL
-- +goose Up
|
|
create table if not exists users
|
|
(
|
|
id serial unique not null primary key,
|
|
login varchar(120) unique not null,
|
|
password varchar,
|
|
|
|
created_at timestamptz default now() not null,
|
|
updated_at timestamptz default now() not null
|
|
);
|
|
|
|
-- +goose Down
|
|
|
|
drop table if exists users;
|