aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations/Version20161128131503.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-01-26 13:15:06 +0100
committerGitHub <noreply@github.com>2017-01-26 13:15:06 +0100
commit463cb376e357d50c5913452fba68a70bf43492c9 (patch)
treeec6ae907d00b7637c0a3238943e6ffcb78802924 /app/DoctrineMigrations/Version20161128131503.php
parent012b2d453e0cbe1ab478c2868559f919ea805db2 (diff)
parent5d916d03afaec6fbe32d2a95624628096325744e (diff)
downloadwallabag-463cb376e357d50c5913452fba68a70bf43492c9.tar.gz
wallabag-463cb376e357d50c5913452fba68a70bf43492c9.tar.zst
wallabag-463cb376e357d50c5913452fba68a70bf43492c9.zip
Merge pull request #2646 from wallabag/explain-migrations-in-doc
Added explanations about migrations
Diffstat (limited to 'app/DoctrineMigrations/Version20161128131503.php')
-rw-r--r--app/DoctrineMigrations/Version20161128131503.php2
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}