aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations/Version20161106113822.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/DoctrineMigrations/Version20161106113822.php')
-rw-r--r--app/DoctrineMigrations/Version20161106113822.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/DoctrineMigrations/Version20161106113822.php b/app/DoctrineMigrations/Version20161106113822.php
index faa2d9fd..de3702a4 100644
--- a/app/DoctrineMigrations/Version20161106113822.php
+++ b/app/DoctrineMigrations/Version20161106113822.php
@@ -48,6 +48,9 @@ class Version20161106113822 extends AbstractMigration implements ContainerAwareI
48 public function down(Schema $schema) 48 public function down(Schema $schema)
49 { 49 {
50 $configTable = $schema->getTable($this->getTable('config')); 50 $configTable = $schema->getTable($this->getTable('config'));
51 $userTable->dropColumn('action_mark_as_read'); 51
52 $this->skipIf(!$configTable->hasColumn('action_mark_as_read'), 'It seems that you already played this migration.');
53
54 $configTable->dropColumn('action_mark_as_read');
52 } 55 }
53} 56}