mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-11-21 22:17:13 +01:00
* Create schema.prisma * update admin pages * update app_diff * Update e2e-tests.yml * update docs & rename hook * Update schema.prisma * update app_diff * add discord auth and app_diff * update docs * Update template/app/src/auth/userSignupFields.ts Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * move landing page * update .env.vault * Update e2e-tests.yml --------- Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
20 lines
843 B
Diff
20 lines
843 B
Diff
--- template/app/migrations/20240715142249_version_14/migration.sql
|
|
+++ opensaas-sh/app/migrations/20240715142249_version_14/migration.sql
|
|
@@ -0,0 +1,16 @@
|
|
+/*
|
|
+ Warnings:
|
|
+
|
|
+ - You are about to drop the column `sendEmail` on the `User` table. All the data in the column will be lost.
|
|
+ - You are about to drop the column `subscriptionTier` on the `User` table. All the data in the column will be lost.
|
|
+ - A unique constraint covering the columns `[stripeId]` on the table `User` will be added. If there are existing duplicate values, this will fail.
|
|
+
|
|
+*/
|
|
+-- AlterTable
|
|
+ALTER TABLE "User" DROP COLUMN "sendEmail",
|
|
+DROP COLUMN "subscriptionTier",
|
|
+ADD COLUMN "sendNewsletter" BOOLEAN NOT NULL DEFAULT false,
|
|
+ADD COLUMN "subscriptionPlan" TEXT;
|
|
+
|
|
+-- CreateIndex
|
|
+CREATE UNIQUE INDEX "User_stripeId_key" ON "User"("stripeId");
|