File tree 2 files changed +8
-1
lines changed
migrations/20230811133522_
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ -- AlterTable
2
+ ALTER TABLE " Collection" ADD COLUMN " image" TEXT ;
3
+
4
+ -- AlterTable
5
+ ALTER TABLE " Project" ADD COLUMN " image" TEXT ;
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ model Collection {
47
47
name String
48
48
poll_id Int
49
49
parent_collection_id Int ?
50
+ image String ?
50
51
created_at DateTime @default (now () )
51
52
poll Poll @relation (fields : [poll_id ] , references : [id ] )
52
53
parent_collection Collection ? @relation (" CollectionToCollection " , fields : [parent_collection_id ] , references : [id ] )
@@ -72,6 +73,7 @@ model Project {
72
73
url String
73
74
description String
74
75
collection_id Int
76
+ image String ?
75
77
created_at DateTime @default (now () )
76
78
collection Collection @relation (fields : [collection_id ] , references : [id ] )
77
79
results Result []
@@ -101,7 +103,7 @@ model ProjectVote {
101
103
user_id Int
102
104
project1_id Int
103
105
project2_id Int
104
- picked_id Int ?
106
+ picked_id Int ?
105
107
created_at DateTime @default (now () )
106
108
updated_at DateTime @default (now () )
107
109
user User @relation (fields : [user_id ] , references : [id ] )
You can’t perform that action at this time.
0 commit comments