You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHPStrictWarning'yii\base\ErrorException' with message 'Declaration of m140501_075311_add_oauth2_server::primaryKey() should be compatible with yii\db\Migration::primaryKey($length = NULL)'
Need set Null on default in primaryKey function public function primaryKey($columns = null) or rename function
The text was updated successfully, but these errors were encountered:
Setting $columns = null worked for me too (Postgres 9.4). Although seems very odd. The parent function clearly expects int and not an array of columns. It seems renaming to avoid this conflict is the correct solution, created PR.
When applying of migration there is an error
Need set Null on default in primaryKey function
public function primaryKey($columns = null)
or rename functionThe text was updated successfully, but these errors were encountered: