chore: update favicon, add agents config and sql scripts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-02 18:11:00 +03:00
co-authored by Claude Sonnet 4.6
parent 73693ace7f
commit b95853412d
3 changed files with 67 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
-- SQL Schema for Ayris Apart Blog and Suites
-- This is generated as a reference for the Prisma Schema
-- Create Post table for Blog
CREATE TABLE IF NOT EXISTS "Post" (
"id" TEXT NOT NULL,
"title" TEXT NOT NULL,
"slug" TEXT NOT NULL,
"excerpt" TEXT NOT NULL,
"content" TEXT,
"image" TEXT,
"author" TEXT NOT NULL DEFAULT 'Ayris Apart',
"lang" TEXT NOT NULL DEFAULT 'tr',
"published" BOOLEAN NOT NULL DEFAULT false,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL,
CONSTRAINT "Post_pkey" PRIMARY KEY ("id")
);
-- Create Suite table (if moved to DB)
CREATE TABLE IF NOT EXISTS "Suite" (
"id" TEXT NOT NULL,
"name" TEXT NOT NULL,
"description" TEXT NOT NULL,
"price" TEXT NOT NULL,
"image" TEXT NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL,
CONSTRAINT "Suite_pkey" PRIMARY KEY ("id")
);
-- Unique index for slug and lang
CREATE UNIQUE INDEX IF NOT EXISTS "Post_slug_key" ON "Post"("slug");
CREATE INDEX IF NOT EXISTS "Post_slug_lang_idx" ON "Post"("slug", "lang");