Files
boot-dev-blog-aggregator/sql/schema/0001_users.sql
2025-03-11 10:53:45 +02:00

10 lines
227 B
SQL

-- +goose Up
CREATE TABLE users(
id UUID PRIMARY KEY,
created_at TIMESTAMP not null DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP not null,
name VARCHAR(64) not null UNIQUE
);
-- +goose Down
DROP TABLE users;