Error applying migrations
memclutter opened this issue · 2 comments
memclutter commented
This error appears when you start migration:
PHP Warning 'yii\base\ErrorException' with message 'Declaration of m140501_075311_add_oauth2_server::primaryKey($columns) should be compatible with yii\db\Migration::primaryKey($length = NULL)'
cpmoser commented
Easy to fix, just change the primaryKey method in the migration in m140501_075311_add_oauth2_server.php to add the default value:
public function primaryKey($columns = null)
I guess they added the default value to the Migration class at some point? Anyway, this should probably be fixed in the repo.
cmoser4m commented
Note: looks like it's already been fixed in master, probably just not in the version that's on packagist.