From 5c1ec767dfc1569fbb1de2edc4bf1f3efbf30a1d Mon Sep 17 00:00:00 2001 From: vincanger <70215737+vincanger@users.noreply.github.com> Date: Thu, 20 Feb 2025 10:55:37 +0100 Subject: [PATCH] update migrations and docs --- .../migration.sql.diff | 11 +++++++++++ .../blog/src/content/docs/general/user-overview.md | 2 -- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 opensaas-sh/app_diff/migrations/20250220095333_remove_last_active_timestamp/migration.sql.diff diff --git a/opensaas-sh/app_diff/migrations/20250220095333_remove_last_active_timestamp/migration.sql.diff b/opensaas-sh/app_diff/migrations/20250220095333_remove_last_active_timestamp/migration.sql.diff new file mode 100644 index 0000000..514dd69 --- /dev/null +++ b/opensaas-sh/app_diff/migrations/20250220095333_remove_last_active_timestamp/migration.sql.diff @@ -0,0 +1,11 @@ +--- template/app/migrations/20250220095333_remove_last_active_timestamp/migration.sql ++++ opensaas-sh/app/migrations/20250220095333_remove_last_active_timestamp/migration.sql +@@ -0,0 +1,8 @@ ++/* ++ Warnings: ++ ++ - You are about to drop the column `lastActiveTimestamp` on the `User` table. All the data in the column will be lost. ++ ++*/ ++-- AlterTable ++ALTER TABLE "User" DROP COLUMN "lastActiveTimestamp"; diff --git a/opensaas-sh/blog/src/content/docs/general/user-overview.md b/opensaas-sh/blog/src/content/docs/general/user-overview.md index 95201ca..8e06153 100644 --- a/opensaas-sh/blog/src/content/docs/general/user-overview.md +++ b/opensaas-sh/blog/src/content/docs/general/user-overview.md @@ -18,7 +18,6 @@ entity User {=psl email String? @unique username String? createdAt DateTime @default(now()) - lastActiveTimestamp DateTime @default(now()) isAdmin Boolean @default(false) paymentProcessorUserId String? @unique lemonSqueezyCustomerPortalUrl String? // You can delete this if you're not using Lemon Squeezy as your payments processor. @@ -116,7 +115,6 @@ entity User {=psl email String? @unique username String? createdAt DateTime @default(now()) - lastActiveTimestamp DateTime @default(now()) isAdmin Boolean @default(false) //... psl=}