-- AlterTable - Add missing columns to Document
ALTER TABLE "Document" ADD COLUMN IF NOT EXISTS "viewCount" INTEGER NOT NULL DEFAULT 0;
ALTER TABLE "Document" ADD COLUMN IF NOT EXISTS "downloadCount" INTEGER NOT NULL DEFAULT 0;

-- AlterTable - Add missing columns to Folder
ALTER TABLE "Folder" ADD COLUMN IF NOT EXISTS "isPublished" BOOLEAN NOT NULL DEFAULT false;
ALTER TABLE "Folder" ADD COLUMN IF NOT EXISTS "publishedAt" TIMESTAMP(3);
ALTER TABLE "Folder" ADD COLUMN IF NOT EXISTS "imageUrl" TEXT;
