aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations/Version20160916201049.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-28 08:55:03 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-28 14:28:35 +0100
commitd79b3adbed4c2c1fd8d35e9475af734d443b564a (patch)
tree7b5315b586c5a118edc351c7787e12ff80cd9b9c /app/DoctrineMigrations/Version20160916201049.php
parent597755b8c7f45310df072d2185fc7bd406f9a39e (diff)
downloadwallabag-d79b3adbed4c2c1fd8d35e9475af734d443b564a.tar.gz
wallabag-d79b3adbed4c2c1fd8d35e9475af734d443b564a.tar.zst
wallabag-d79b3adbed4c2c1fd8d35e9475af734d443b564a.zip
Fixed typo
Diffstat (limited to 'app/DoctrineMigrations/Version20160916201049.php')
-rw-r--r--app/DoctrineMigrations/Version20160916201049.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/DoctrineMigrations/Version20160916201049.php b/app/DoctrineMigrations/Version20160916201049.php
index 09c05f4b..9390755e 100644
--- a/app/DoctrineMigrations/Version20160916201049.php
+++ b/app/DoctrineMigrations/Version20160916201049.php
@@ -33,7 +33,7 @@ class Version20160916201049 extends AbstractMigration implements ContainerAwareI
33 33
34 $this->skipIf($configTable->hasColumn('pocket_consumer_key'), 'It seems that you already played this migration.'); 34 $this->skipIf($configTable->hasColumn('pocket_consumer_key'), 'It seems that you already played this migration.');
35 35
36 $userTable->addColumn('pocket_consumer_key', 'string'); 36 $configTable->addColumn('pocket_consumer_key', 'string');
37 $this->addSql('DELETE FROM '.$this->getTable('craue_config_setting')." WHERE name = 'pocket_consumer_key';"); 37 $this->addSql('DELETE FROM '.$this->getTable('craue_config_setting')." WHERE name = 'pocket_consumer_key';");
38 } 38 }
39 39
@@ -43,7 +43,7 @@ class Version20160916201049 extends AbstractMigration implements ContainerAwareI
43 public function down(Schema $schema) 43 public function down(Schema $schema)
44 { 44 {
45 $configTable = $schema->getTable($this->getTable('config')); 45 $configTable = $schema->getTable($this->getTable('config'));
46 $clientsTable->dropColumn('pocket_consumer_key'); 46 $configTable->dropColumn('pocket_consumer_key');
47 $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('pocket_consumer_key', NULL, 'import')"); 47 $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('pocket_consumer_key', NULL, 'import')");
48 } 48 }
49} 49}