diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-01-23 14:16:00 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-01-23 14:16:00 +0100 |
commit | 4acbeb93717612f361627f7d4b946fcb4477823c (patch) | |
tree | cf5856dce4a254535a9ea862ca7b072fcf0424b9 /app/DoctrineMigrations/Version20161128131503.php | |
parent | b87f1712336564ec14e37487f512568bc4d986f7 (diff) | |
download | wallabag-4acbeb93717612f361627f7d4b946fcb4477823c.tar.gz wallabag-4acbeb93717612f361627f7d4b946fcb4477823c.tar.zst wallabag-4acbeb93717612f361627f7d4b946fcb4477823c.zip |
Added hardcoded SQL for migration to 2.2
Diffstat (limited to 'app/DoctrineMigrations/Version20161128131503.php')
-rw-r--r-- | app/DoctrineMigrations/Version20161128131503.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/DoctrineMigrations/Version20161128131503.php b/app/DoctrineMigrations/Version20161128131503.php index f0e016c8..b71aa38b 100644 --- a/app/DoctrineMigrations/Version20161128131503.php +++ b/app/DoctrineMigrations/Version20161128131503.php | |||
@@ -55,7 +55,7 @@ class Version20161128131503 extends AbstractMigration implements ContainerAwareI | |||
55 | 55 | ||
56 | foreach ($this->fields as $field => $type) { | 56 | foreach ($this->fields as $field => $type) { |
57 | $this->skipIf($userTable->hasColumn($field), 'It seems that you already played this migration.'); | 57 | $this->skipIf($userTable->hasColumn($field), 'It seems that you already played this migration.'); |
58 | $userTable->addColumn($field, $type); | 58 | $userTable->addColumn($field, $type, ['notnull' => false]); |
59 | } | 59 | } |
60 | } | 60 | } |
61 | } | 61 | } |