nanobot/migrations/20230912221321_members.sql
Aadi Desai 5b20f1318f
Add SQLx migrations
Members, PendingMembers and ManualMembers in members, pending and manual tables
2023-09-23 23:00:34 +01:00

7 lines
243 B
SQL

CREATE TABLE IF NOT EXISTS "members" (
"discord_id" BIGINT NOT NULL PRIMARY KEY,
"shortcode" VARCHAR(16) NOT NULL CONSTRAINT "users_shortcode_unique" UNIQUE,
"nickname" TEXT NOT NULL,
"realname" TEXT NOT NULL,
"fresher" BOOLEAN NOT NULL
)