rhythm-backend/migrations/20260419141635_create_users_table.sql
Dmitri fb0f858f4b
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m40s
added sqlc generated code
2026-04-19 18:15:35 +02:00

12 lines
290 B
SQL

-- +goose Up
create table users (
id uuid primary key default uuidv4(),
email varchar(255) not null unique,
password varchar(255) not null,
created_at timestamptz not null default now(),
updated_at timestamptz not null default now()
);
-- +goose Down
drop table if exists users;