1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2024-12-27 16:33:05 +02:00
testing-go-code-with-postgres/migrations/000001_create_users_table.up.sql
2023-07-05 01:31:59 +03:00

7 lines
144 B
SQL

CREATE TABLE users
(
user_id uuid,
username VARCHAR(50) UNIQUE NOT NULL,
created_at TIMESTAMP WITH TIME ZONE NOT NULL
);