Added skeleton code for register endpoint (#2)

Reviewed-on: phoenix/textsender-auth#2
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-09-09 19:39:12 +00:00
committed by phoenix
parent 76e7dd7749
commit 200f2b3c41
15 changed files with 658 additions and 17 deletions
+11
View File
@@ -0,0 +1,11 @@
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
DROP TABLE IF EXISTS users CASCADE;
CREATE TABLE users (
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
phone_number TEXT NOT NULL,
username TEXT NOT NULL,
password TEXT NOT NULL
);