Category: Yii2 RBAC
-
Post Views: 24 1. Execute the migration command: yii migrate –migrationpath=@yii/rbac/migrations, the field length of the string type is 64 2. Create a new migration in this plan, and then modify the length of the field. However, when executing the migration command, an error SQLState is reported[HY000]: General Error: 1833 Cannot Change Columnname: Used in a foreign key constraintauth_item_child_ibfk_1of table.…