aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations/Version20160410190541.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-01-30 21:21:49 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-01-30 21:21:49 +0100
commita5cd696b22599b1ccb5f2adc05c5ffc563da9756 (patch)
tree6629ff7734446ff7389d8c7c9176cd5fad0be343 /app/DoctrineMigrations/Version20160410190541.php
parent7a340375c30531e0983deacdbfe39f13cb961005 (diff)
downloadwallabag-a5cd696b22599b1ccb5f2adc05c5ffc563da9756.tar.gz
wallabag-a5cd696b22599b1ccb5f2adc05c5ffc563da9756.tar.zst
wallabag-a5cd696b22599b1ccb5f2adc05c5ffc563da9756.zip
Added check in migration about uuid field
Diffstat (limited to 'app/DoctrineMigrations/Version20160410190541.php')
-rw-r--r--app/DoctrineMigrations/Version20160410190541.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/DoctrineMigrations/Version20160410190541.php b/app/DoctrineMigrations/Version20160410190541.php
index 80bcd12a..6294d842 100644
--- a/app/DoctrineMigrations/Version20160410190541.php
+++ b/app/DoctrineMigrations/Version20160410190541.php
@@ -34,7 +34,7 @@ class Version20160410190541 extends AbstractMigration implements ContainerAwareI
34 { 34 {
35 $entryTable = $schema->getTable($this->getTable('entry')); 35 $entryTable = $schema->getTable($this->getTable('entry'));
36 36
37 $this->skipIf($entryTable->hasColumn('uid'), 'It seems that you already played this migration.'); 37 $this->skipIf($entryTable->hasColumn('uid') || $entryTable->hasColumn('uuid'), 'It seems that you already played this migration.');
38 38
39 $entryTable->addColumn('uid', 'string', [ 39 $entryTable->addColumn('uid', 'string', [
40 'notnull' => false, 40 'notnull' => false,