Files
portfolio/api/db/migrations/20240819213158_social/migration.sql
Ahmed Al-Taiar 0283c293ef
All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 39s
An attempt to fix the PDF iframe not loading properly when the API domain is third-partyBasic printer CRUD
2025-04-06 18:08:05 -04:00

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