nanobot/migrations/20230912221321_members.sql

7 lines
243 B
MySQL
Raw Normal View History

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
)