rhythm-backend/migrations/20260419141635_create_users_table.sql
Dmitri cb5d273951
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m25s
go
2026-04-19 16:54:12 +02:00

12 lines
278 B
SQL

-- +goose Up
create table users (
id uuid primary 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;