fix migration issue

This commit is contained in:
vincanger 2024-11-26 19:52:58 +01:00
parent 6292c52aa0
commit 98dcc43eb8
3 changed files with 18 additions and 23 deletions

View File

@ -1,11 +0,0 @@
--- template/app/migrations/20241030143842_checkout_session_id/migration.sql
+++ opensaas-sh/app/migrations/20241030143842_checkout_session_id/migration.sql
@@ -0,0 +1,8 @@
+/*
+ Warnings:
+
+ - You are about to drop the column `checkoutSessionId` on the `User` table. All the data in the column will be lost.
+
+*/
+-- AlterTable
+ALTER TABLE "User" DROP COLUMN "checkoutSessionId";

View File

@ -0,0 +1,11 @@
--- template/app/migrations/20241126132514_remove_checkout_session_id/migration.sql
+++ opensaas-sh/app/migrations/20241126132514_remove_checkout_session_id/migration.sql
@@ -0,0 +1,8 @@
+/*
+ Warnings:
+
+ - You are about to drop the column `checkoutSessionId` on the `User` table. All the data in the column will be lost.
+
+*/
+-- AlterTable
+ALTER TABLE "User" DROP COLUMN IF EXISTS "checkoutSessionId";

View File

@ -1,6 +1,6 @@
--- template/app/package-lock.json
+++ opensaas-sh/app/package-lock.json
@@ -0,0 +1,11741 @@
@@ -0,0 +1,11736 @@
+{
+ "name": "opensaas",
+ "lockfileVersion": 3,
@ -16,7 +16,7 @@
+ "@headlessui/react": "1.7.13",
+ "@tailwindcss/forms": "^0.5.3",
+ "@tailwindcss/typography": "^0.5.7",
+ "apexcharts": "^3.41.0",
+ "apexcharts": "3.41.0",
+ "clsx": "^2.1.0",
+ "headlessui": "^0.0.0",
+ "node-fetch": "3.3.0",
@ -24,7 +24,7 @@
+ "prettier": "3.1.1",
+ "prettier-plugin-tailwindcss": "0.5.11",
+ "react": "^18.2.0",
+ "react-apexcharts": "^1.4.1",
+ "react-apexcharts": "1.4.1",
+ "react-hot-toast": "^2.4.1",
+ "react-icons": "4.11.0",
+ "stripe": "11.15.0",
@ -3778,11 +3778,6 @@
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/@yr/monotone-cubic-spline": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/@yr/monotone-cubic-spline/-/monotone-cubic-spline-1.0.3.tgz",
+ "integrity": "sha512-FQXkOta0XBSUPHndIKON2Y9JeQz5ZeMqLYZVVK93FliNBFm7LNMIZmY6FrMEB9XPcDbE2bekMbZD6kzDkxwYjA=="
+ },
+ "node_modules/@zxing/text-encoding": {
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz",
@ -3948,11 +3943,11 @@
+ }
+ },
+ "node_modules/apexcharts": {
+ "version": "3.54.0",
+ "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.54.0.tgz",
+ "integrity": "sha512-ZgI/seScffjLpwNRX/gAhIkAhpCNWiTNsdICv7qxnF0xisI23XSsaENUKIcMlyP1rbe8ECgvybDnp7plZld89A==",
+ "version": "3.41.0",
+ "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.41.0.tgz",
+ "integrity": "sha512-FJXA7NVjxs1q+ptR3b1I+pN8K/gWuXn+qLZjFz8EHvJOokdgcuwa/HSe5aC465HW/LWnrjWLSTsOQejQbQ42hQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@yr/monotone-cubic-spline": "^1.0.3",
+ "svg.draggable.js": "^2.2.2",
+ "svg.easing.js": "^2.0.0",
+ "svg.filter.js": "^2.0.2",