Ted Joe
09/13/2022, 8:38 PMprisma migragte dev
, or even with the flag --create-only
, I get an error:
Error: P3006
Migrationfailed to apply cleanly to the shadow database.20220913190558_updated_user_types_type
Error:
db error: ERROR: column "userType" cannot be cast automatically to type "USER_TYPE"[]
HINT: You might need to specify "USING "userType"::"USER_TYPE"[]".
0: sql_migration_connector::validate_migrations
at migration-engine/connectors/sql-migration-connector/src/lib.rs:270
1: migration_core:state:DevDiagnostic
at migration-engine/core/src/state.rs:250
Harshit
09/14/2022, 8:04 AM