File tree 2 files changed +12
-1
lines changed
migrations/20231022181746_move_lastactive_field_from_user_to_server
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ Warnings:
3
+
4
+ - You are about to drop the column `lastActive` on the `User` table. All the data in the column will be lost.
5
+
6
+ */
7
+ -- AlterTable
8
+ ALTER TABLE " Server" ADD COLUMN " lastActive" TIMESTAMP (3 );
9
+
10
+ -- AlterTable
11
+ ALTER TABLE " User" DROP COLUMN " lastActive" ;
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ model User {
33
33
createdAt DateTime @default (now () )
34
34
updatedAt DateTime @updatedAt
35
35
deletedAt DateTime ?
36
- lastActive DateTime ?
37
36
}
38
37
39
38
model GitHub {
@@ -82,6 +81,7 @@ model Server {
82
81
active Boolean
83
82
updatedAt DateTime @updatedAt
84
83
deletedAt DateTime ?
84
+ lastActive DateTime ?
85
85
omp Boolean @default (false )
86
86
partner Boolean @default (false )
87
87
pending Boolean @default (false )
You can’t perform that action at this time.
0 commit comments