Closed phpia closed 11 months ago
A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
Migration name: q_14
Database error code: 42701
Database error: ERROR: column "options" of relation "Bot" already exists
DbError { severity: "ERROR", parsedseverity: Some(Error), code: SqlState(E42701), message: "column \"options\" of relation \"Bot\" already exists", detail: None, hint: None, position: None, where: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("tablecmds.c"), line: Some(6254), routine: Some("check_for_column_name_collision") }
0: sql_schema_connector::apply_migration::apply_script with migration_name="q_14" at schema-engine/connectors/sql-schema-connector/src/apply_migration.rs:106 1: schema_core::commands::apply_migrations::Applying migration with migration_name="q_14" at schema-engine/core/src/commands/apply_migrations.rs:91 2: schema_core::state::ApplyMigrations at schema-engine/core/src/state.rs:197
Solved excuting sql by hand and then: server$ npx prisma migrate resolve --applied "q_14"
Is it okay now? btw, you can hide unwanted models from the admin settings
Yes all working!
Very cool the admin panel for models
Hi! It seems that I cant select any model when create a chatbot Also table dialoqbasemodels is empty
It seems some problem with prisma
Thanks