1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2025-06-30 23:23:40 +02:00

Publish an example testing go code with Postgres

This commit is contained in:
Vasiliy Vasilyuk
2023-07-05 01:31:59 +03:00
parent 7e6770223e
commit b346272f7f
15 changed files with 559 additions and 0 deletions

View File

@ -0,0 +1 @@
DROP TABLE users;

View File

@ -0,0 +1,6 @@
CREATE TABLE users
(
user_id uuid,
username VARCHAR(50) UNIQUE NOT NULL,
created_at TIMESTAMP WITH TIME ZONE NOT NULL
);