All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 39s
13 lines
352 B
SQL
Executable File
13 lines
352 B
SQL
Executable File
-- CreateEnum
|
|
CREATE TYPE "Handle" AS ENUM ('x', 'threads', 'instagram', 'facebook', 'tiktok', 'youtube', 'linkedin', 'github', 'email', 'custom');
|
|
|
|
-- CreateTable
|
|
CREATE TABLE "Social" (
|
|
"id" SERIAL NOT NULL,
|
|
"name" TEXT NOT NULL,
|
|
"type" "Handle" NOT NULL,
|
|
"username" TEXT NOT NULL,
|
|
|
|
CONSTRAINT "Social_pkey" PRIMARY KEY ("id")
|
|
);
|