Merge pull request #1456 from thiagoomatheus/main

Fixes issue #879
This commit is contained in:
Davidson Gomes 2025-05-16 13:38:30 -03:00 committed by GitHub
commit 7cccda10bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 3 deletions

View File

@ -399,7 +399,7 @@ model IntegrationSession {
model Media {
id String @id @default(cuid())
fileName String @unique @db.VarChar(500)
fileName String @db.VarChar(500)
type String @db.VarChar(100)
mimetype String @db.VarChar(100)
createdAt DateTime? @default(dbgenerated("CURRENT_TIMESTAMP")) @db.Timestamp

View File

@ -0,0 +1,2 @@
-- DropIndex
DROP INDEX "Media_fileName_key";

View File

@ -1,3 +1,3 @@
# Please do not edit this file manually
# It should be added in your version-control system (i.e. Git)
# It should be added in your version-control system (e.g., Git)
provider = "postgresql"

View File

@ -383,7 +383,7 @@ model TypebotSetting {
model Media {
id String @id @default(cuid())
fileName String @unique @db.VarChar(500)
fileName String @db.VarChar(500)
type String @db.VarChar(100)
mimetype String @db.VarChar(100)
createdAt DateTime? @default(now()) @db.Date