1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2024-12-24 16:28:34 +02:00
testing-go-code-with-postgres/migrations/000001_create_users_table.up.sql

7 lines
144 B
MySQL
Raw Permalink Normal View History

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