- 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>
37 lines
2.4 KiB
SQL
37 lines
2.4 KiB
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the column `fromEmail` on the `instance_settings` table. All the data in the column will be lost.
|
|
- You are about to drop the column `fromName` on the `instance_settings` table. All the data in the column will be lost.
|
|
- You are about to drop the column `smtpHost` on the `instance_settings` table. All the data in the column will be lost.
|
|
- You are about to drop the column `smtpPassword` on the `instance_settings` table. All the data in the column will be lost.
|
|
- You are about to drop the column `smtpPort` on the `instance_settings` table. All the data in the column will be lost.
|
|
- You are about to drop the column `smtpSecure` on the `instance_settings` table. All the data in the column will be lost.
|
|
- You are about to drop the column `smtpUsername` on the `instance_settings` table. All the data in the column will be lost.
|
|
|
|
*/
|
|
-- RedefineTables
|
|
PRAGMA defer_foreign_keys=ON;
|
|
PRAGMA foreign_keys=OFF;
|
|
CREATE TABLE "new_instance_settings" (
|
|
"id" TEXT NOT NULL PRIMARY KEY,
|
|
"instanceName" TEXT DEFAULT '',
|
|
"instanceDescription" TEXT DEFAULT '',
|
|
"allowRegistration" BOOLEAN DEFAULT true,
|
|
"requireEmailVerification" BOOLEAN DEFAULT false,
|
|
"defaultSecretExpiration" INTEGER DEFAULT 72,
|
|
"maxSecretSize" INTEGER DEFAULT 1024,
|
|
"allowPasswordProtection" BOOLEAN DEFAULT true,
|
|
"allowIpRestriction" BOOLEAN DEFAULT true,
|
|
"enableRateLimiting" BOOLEAN DEFAULT true,
|
|
"rateLimitRequests" INTEGER DEFAULT 100,
|
|
"rateLimitWindow" INTEGER DEFAULT 60,
|
|
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
"updatedAt" DATETIME NOT NULL
|
|
);
|
|
INSERT INTO "new_instance_settings" ("allowIpRestriction", "allowPasswordProtection", "allowRegistration", "createdAt", "defaultSecretExpiration", "enableRateLimiting", "id", "instanceDescription", "instanceName", "maxSecretSize", "rateLimitRequests", "rateLimitWindow", "requireEmailVerification", "updatedAt") SELECT "allowIpRestriction", "allowPasswordProtection", "allowRegistration", "createdAt", "defaultSecretExpiration", "enableRateLimiting", "id", "instanceDescription", "instanceName", "maxSecretSize", "rateLimitRequests", "rateLimitWindow", "requireEmailVerification", "updatedAt" FROM "instance_settings";
|
|
DROP TABLE "instance_settings";
|
|
ALTER TABLE "new_instance_settings" RENAME TO "instance_settings";
|
|
PRAGMA foreign_keys=ON;
|
|
PRAGMA defer_foreign_keys=OFF;
|