mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 19:11:07 +00:00
Added check in migration about uuid field
This commit is contained in:
parent
7a340375c3
commit
a5cd696b22
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Version20160410190541 extends AbstractMigration implements ContainerAwareI
|
||||||
{
|
{
|
||||||
$entryTable = $schema->getTable($this->getTable('entry'));
|
$entryTable = $schema->getTable($this->getTable('entry'));
|
||||||
|
|
||||||
$this->skipIf($entryTable->hasColumn('uid'), 'It seems that you already played this migration.');
|
$this->skipIf($entryTable->hasColumn('uid') || $entryTable->hasColumn('uuid'), 'It seems that you already played this migration.');
|
||||||
|
|
||||||
$entryTable->addColumn('uid', 'string', [
|
$entryTable->addColumn('uid', 'string', [
|
||||||
'notnull' => false,
|
'notnull' => false,
|
||||||
|
|
Loading…
Reference in a new issue