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
Following installation instructions I'm trying to run the database migration. The migration is trying to add a foreign key, resulting in the following errror:
Exception 'yii\base\NotSupportedException' with message 'yii\db\sqlite\QueryBuilder::addForeignKey is not supported by SQLite.'
Instead of using (as suggested by the official Yii documentation): $this->addForeignKey(..)
By the way, I noticed in the down() function of the filemanager_init migration, you drop two foreign keys, but only one was created in the up() function?
The text was updated successfully, but these errors were encountered:
Following installation instructions I'm trying to run the database migration. The migration is trying to add a foreign key, resulting in the following errror:
Exception 'yii\base\NotSupportedException' with message 'yii\db\sqlite\QueryBuilder::addForeignKey is not supported by SQLite.'
Instead of using (as suggested by the official Yii documentation):
$this->addForeignKey(..)
consider using $options parameter for createTable() function, see http://www.yiiframework.com/doc-2.0/yii-db-migration.html#createTable()-detail.
By the way, I noticed in the down() function of the filemanager_init migration, you drop two foreign keys, but only one was created in the up() function?
The text was updated successfully, but these errors were encountered: