Skip to content

Commit 7cccda1

Browse files
Merge pull request #1456 from thiagoomatheus/main
Fixes issue #879
2 parents 33c808b + 7e5740b commit 7cccda1

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

prisma/mysql-schema.prisma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ model IntegrationSession {
399399

400400
model Media {
401401
id String @id @default(cuid())
402-
fileName String @unique @db.VarChar(500)
402+
fileName String @db.VarChar(500)
403403
type String @db.VarChar(100)
404404
mimetype String @db.VarChar(100)
405405
createdAt DateTime? @default(dbgenerated("CURRENT_TIMESTAMP")) @db.Timestamp
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- DropIndex
2+
DROP INDEX "Media_fileName_key";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Please do not edit this file manually
2-
# It should be added in your version-control system (i.e. Git)
2+
# It should be added in your version-control system (e.g., Git)
33
provider = "postgresql"

prisma/postgresql-schema.prisma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ model TypebotSetting {
383383

384384
model Media {
385385
id String @id @default(cuid())
386-
fileName String @unique @db.VarChar(500)
386+
fileName String @db.VarChar(500)
387387
type String @db.VarChar(100)
388388
mimetype String @db.VarChar(100)
389389
createdAt DateTime? @default(now()) @db.Date

0 commit comments

Comments
 (0)