aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations/Version20160410190541.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-29 10:09:44 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-29 10:09:44 +0100
commit7239082a5e290dada1d393f7a25acebb09ace2de (patch)
tree97915f7266cca85ee42a3494f0a8ae4831917366 /app/DoctrineMigrations/Version20160410190541.php
parent89cd670abfc77ca268a538c9323a4026fec06fc7 (diff)
downloadwallabag-7239082a5e290dada1d393f7a25acebb09ace2de.tar.gz
wallabag-7239082a5e290dada1d393f7a25acebb09ace2de.tar.zst
wallabag-7239082a5e290dada1d393f7a25acebb09ace2de.zip
Renamed uuid to uid
Diffstat (limited to 'app/DoctrineMigrations/Version20160410190541.php')
-rw-r--r--app/DoctrineMigrations/Version20160410190541.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/DoctrineMigrations/Version20160410190541.php b/app/DoctrineMigrations/Version20160410190541.php
index 8761a9bb..f166a325 100644
--- a/app/DoctrineMigrations/Version20160410190541.php
+++ b/app/DoctrineMigrations/Version20160410190541.php
@@ -31,9 +31,9 @@ class Version20160410190541 extends AbstractMigration implements ContainerAwareI
31 { 31 {
32 $entryTable = $schema->getTable($this->getTable('entry')); 32 $entryTable = $schema->getTable($this->getTable('entry'));
33 33
34 $this->skipIf($entryTable->hasColumn('uuid'), 'It seems that you already played this migration.'); 34 $this->skipIf($entryTable->hasColumn('uid'), 'It seems that you already played this migration.');
35 35
36 $entryTable->addColumn('uuid', 'string', [ 36 $entryTable->addColumn('uid', 'string', [
37 'notnull' => false, 37 'notnull' => false,
38 'length' => 23, 38 'length' => 23,
39 ]); 39 ]);
@@ -46,7 +46,7 @@ class Version20160410190541 extends AbstractMigration implements ContainerAwareI
46 public function down(Schema $schema) 46 public function down(Schema $schema)
47 { 47 {
48 $entryTable = $schema->getTable($this->getTable('entry')); 48 $entryTable = $schema->getTable($this->getTable('entry'));
49 $entryTable->dropColumn('uuid'); 49 $entryTable->dropColumn('uid');
50 50
51 $this->addSql('DELETE FROM '.$this->getTable('craue_config_setting')." WHERE name = 'share_public'"); 51 $this->addSql('DELETE FROM '.$this->getTable('craue_config_setting')." WHERE name = 'share_public'");
52 } 52 }