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 authored and phoenix committed 2025-09-09 19:39:12 +00:00
1 parent 76e7dd7749
commit 200f2b3c41
15 files changed
+658 -17

No files matched your search

+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
);