feat: added sqlc and binded schema.sql as postgresql's init script
This commit is contained in:
2
sqlc/query.sql
Normal file
2
sqlc/query.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- name: CreateUser :one
|
||||
INSERT INTO user (username, verified, banned, registration_date) VALUES ($1, false, false, NOW()) RETURNING id, username, verified, banned, registration_date;
|
||||
Reference in New Issue
Block a user