gator/sql/postgres/schema/001_users.sql

11 lines
196 B
MySQL
Raw Normal View History

2024-10-01 01:12:12 +01:00
-- +goose Up
CREATE TABLE users (
id UUID PRIMARY KEY,
created_at TIMESTAMP NOT NULL,
updated_at TIMESTAMP NOT NULL,
name varchar(255) NOT NULL UNIQUE
);
-- +goose Down
DROP TABLE users;