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: 20260130_000004_oxitaxi_cabs

Database error code: 42804

Database error:
ERROR: foreign key constraint "vehicle_amenities_amenity_fkey" cannot be implemented
DETAIL: Key columns "amenityId" of the referencing table and "id" of the referenced table are of incompatible types: uuid and integer.

DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E42804), message: "foreign key constraint \"vehicle_amenities_amenity_fkey\" cannot be implemented", detail: Some("Key columns \"amenityId\" of the referencing table and \"id\" of the referenced table are of incompatible types: uuid and integer."), hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("tablecmds.c"), line: Some(10429), routine: Some("ATAddForeignKeyConstraint") }

