- Set Spanish as default language with ephemeral/encrypted privacy focus - Translate all user-facing strings and legal pages to Spanish - Replace Norwegian flag with Spanish flag in footer - Remove Hemmelig/terces.cloud links, add cloudhost.es sponsorship - Rewrite PrivacyPage: zero data collection, ephemeral design emphasis - Rewrite TermsPage: Spanish law, RGPD, paste.es/CloudHost.es references - Update PWA manifest, HTML meta tags, package.json branding - Rename webhook headers to X-Paste-Event / X-Paste-Signature - Update API docs title and contact to paste.es / cloudhost.es Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 lines
900 B
SQL
25 lines
900 B
SQL
-- AlterTable
|
|
ALTER TABLE "instance_settings" ADD COLUMN "logoUrl" TEXT DEFAULT '';
|
|
ALTER TABLE "instance_settings" ADD COLUMN "primaryColor" TEXT DEFAULT '#14b8a6';
|
|
ALTER TABLE "instance_settings" ADD COLUMN "requireApproval" BOOLEAN DEFAULT false;
|
|
ALTER TABLE "instance_settings" ADD COLUMN "requireInviteCode" BOOLEAN DEFAULT false;
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "user" ADD COLUMN "approved" BOOLEAN DEFAULT true;
|
|
ALTER TABLE "user" ADD COLUMN "inviteCodeUsed" TEXT;
|
|
|
|
-- CreateTable
|
|
CREATE TABLE "invite_codes" (
|
|
"id" TEXT NOT NULL PRIMARY KEY,
|
|
"code" TEXT NOT NULL,
|
|
"uses" INTEGER NOT NULL DEFAULT 0,
|
|
"maxUses" INTEGER DEFAULT 1,
|
|
"expiresAt" DATETIME,
|
|
"createdBy" TEXT NOT NULL,
|
|
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
"isActive" BOOLEAN NOT NULL DEFAULT true
|
|
);
|
|
|
|
-- CreateIndex
|
|
CREATE UNIQUE INDEX "invite_codes_code_key" ON "invite_codes"("code");
|