aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations
diff options
context:
space:
mode:
Diffstat (limited to 'app/DoctrineMigrations')
-rw-r--r--app/DoctrineMigrations/Version20160401000000.php6
-rw-r--r--app/DoctrineMigrations/Version20160410190541.php6
-rw-r--r--app/DoctrineMigrations/Version20160812120952.php6
-rw-r--r--app/DoctrineMigrations/Version20160911214952.php6
-rw-r--r--app/DoctrineMigrations/Version20160916201049.php6
-rw-r--r--app/DoctrineMigrations/Version20161001072726.php6
-rw-r--r--app/DoctrineMigrations/Version20161022134138.php6
-rw-r--r--app/DoctrineMigrations/Version20161024212538.php6
-rw-r--r--app/DoctrineMigrations/Version20161031132655.php6
-rw-r--r--app/DoctrineMigrations/Version20161104073720.php6
-rw-r--r--app/DoctrineMigrations/Version20161106113822.php6
-rw-r--r--app/DoctrineMigrations/Version20161117071626.php6
-rw-r--r--app/DoctrineMigrations/Version20161118134328.php6
-rw-r--r--app/DoctrineMigrations/Version20161122144743.php6
-rw-r--r--app/DoctrineMigrations/Version20161122203647.php6
-rw-r--r--app/DoctrineMigrations/Version20161128084725.php6
-rw-r--r--app/DoctrineMigrations/Version20161128131503.php6
-rw-r--r--app/DoctrineMigrations/Version20161214094402.php6
-rw-r--r--app/DoctrineMigrations/Version20161214094403.php6
-rw-r--r--app/DoctrineMigrations/Version20170127093841.php6
-rw-r--r--app/DoctrineMigrations/Version20170327194233.php6
-rw-r--r--app/DoctrineMigrations/Version20170405182620.php6
-rw-r--r--app/DoctrineMigrations/Version20170407200919.php6
-rw-r--r--app/DoctrineMigrations/Version20170420134133.php6
-rw-r--r--app/DoctrineMigrations/Version20170501115751.php6
-rw-r--r--app/DoctrineMigrations/Version20170510082609.php6
-rw-r--r--app/DoctrineMigrations/Version20170511115400.php6
-rw-r--r--app/DoctrineMigrations/Version20170602075214.php6
-rw-r--r--app/DoctrineMigrations/Version20170606155640.php6
-rw-r--r--app/DoctrineMigrations/Version20170719231144.php6
-rw-r--r--app/DoctrineMigrations/Version20170824113337.php6
-rw-r--r--app/DoctrineMigrations/Version20171008195606.php6
-rw-r--r--app/DoctrineMigrations/Version20171105202000.php6
-rw-r--r--app/DoctrineMigrations/Version20171120163128.php6
-rw-r--r--app/DoctrineMigrations/Version20171125164500.php6
-rwxr-xr-xapp/DoctrineMigrations/Version20180405182455.php6
-rw-r--r--app/DoctrineMigrations/Version20181128203230.php3
-rw-r--r--app/DoctrineMigrations/Version20190129120000.php6
-rw-r--r--app/DoctrineMigrations/Version20190401105353.php6
-rw-r--r--app/DoctrineMigrations/Version20190601125843.php6
40 files changed, 0 insertions, 237 deletions
diff --git a/app/DoctrineMigrations/Version20160401000000.php b/app/DoctrineMigrations/Version20160401000000.php
index c80e3e1f..9417935b 100644
--- a/app/DoctrineMigrations/Version20160401000000.php
+++ b/app/DoctrineMigrations/Version20160401000000.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20160401000000 extends WallabagMigration 11class Version20160401000000 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $this->skipIf($schema->hasTable($this->getTable('entry')), 'Database already initialized'); 15 $this->skipIf($schema->hasTable($this->getTable('entry')), 'Database already initialized');
@@ -167,9 +164,6 @@ SQL
167 } 164 }
168 } 165 }
169 166
170 /**
171 * @param Schema $schema
172 */
173 public function down(Schema $schema) 167 public function down(Schema $schema)
174 { 168 {
175 $this->addSql("DROP TABLE {$this->getTable('craue_config_setting')}"); 169 $this->addSql("DROP TABLE {$this->getTable('craue_config_setting')}");
diff --git a/app/DoctrineMigrations/Version20160410190541.php b/app/DoctrineMigrations/Version20160410190541.php
index e1bd3e5c..5b6d83dc 100644
--- a/app/DoctrineMigrations/Version20160410190541.php
+++ b/app/DoctrineMigrations/Version20160410190541.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20160410190541 extends WallabagMigration 11class Version20160410190541 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $entryTable = $schema->getTable($this->getTable('entry')); 15 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -34,9 +31,6 @@ class Version20160410190541 extends WallabagMigration
34 } 31 }
35 } 32 }
36 33
37 /**
38 * @param Schema $schema
39 */
40 public function down(Schema $schema) 34 public function down(Schema $schema)
41 { 35 {
42 $entryTable = $schema->getTable($this->getTable('entry')); 36 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20160812120952.php b/app/DoctrineMigrations/Version20160812120952.php
index d09aefa0..f5f90850 100644
--- a/app/DoctrineMigrations/Version20160812120952.php
+++ b/app/DoctrineMigrations/Version20160812120952.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20160812120952 extends WallabagMigration 11class Version20160812120952 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $clientsTable = $schema->getTable($this->getTable('oauth2_clients')); 15 $clientsTable = $schema->getTable($this->getTable('oauth2_clients'));
@@ -34,9 +31,6 @@ class Version20160812120952 extends WallabagMigration
34 } 31 }
35 } 32 }
36 33
37 /**
38 * @param Schema $schema
39 */
40 public function down(Schema $schema) 34 public function down(Schema $schema)
41 { 35 {
42 $clientsTable = $schema->getTable($this->getTable('oauth2_clients')); 36 $clientsTable = $schema->getTable($this->getTable('oauth2_clients'));
diff --git a/app/DoctrineMigrations/Version20160911214952.php b/app/DoctrineMigrations/Version20160911214952.php
index 9dc225fd..4d7e0f7e 100644
--- a/app/DoctrineMigrations/Version20160911214952.php
+++ b/app/DoctrineMigrations/Version20160911214952.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20160911214952 extends WallabagMigration 11class Version20160911214952 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $redis = $this->container 15 $redis = $this->container
@@ -36,9 +33,6 @@ class Version20160911214952 extends WallabagMigration
36 $this->skipIf(false !== $rabbitmq && false !== $redis, 'It seems that you already played this migration.'); 33 $this->skipIf(false !== $rabbitmq && false !== $redis, 'It seems that you already played this migration.');
37 } 34 }
38 35
39 /**
40 * @param Schema $schema
41 */
42 public function down(Schema $schema) 36 public function down(Schema $schema)
43 { 37 {
44 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'import_with_redis';"); 38 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'import_with_redis';");
diff --git a/app/DoctrineMigrations/Version20160916201049.php b/app/DoctrineMigrations/Version20160916201049.php
index 13f99ce1..fc5e04ae 100644
--- a/app/DoctrineMigrations/Version20160916201049.php
+++ b/app/DoctrineMigrations/Version20160916201049.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20160916201049 extends WallabagMigration 11class Version20160916201049 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $configTable = $schema->getTable($this->getTable('config')); 15 $configTable = $schema->getTable($this->getTable('config'));
@@ -23,9 +20,6 @@ class Version20160916201049 extends WallabagMigration
23 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'pocket_consumer_key';"); 20 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'pocket_consumer_key';");
24 } 21 }
25 22
26 /**
27 * @param Schema $schema
28 */
29 public function down(Schema $schema) 23 public function down(Schema $schema)
30 { 24 {
31 $configTable = $schema->getTable($this->getTable('config')); 25 $configTable = $schema->getTable($this->getTable('config'));
diff --git a/app/DoctrineMigrations/Version20161001072726.php b/app/DoctrineMigrations/Version20161001072726.php
index 4e19a54a..497cb2a1 100644
--- a/app/DoctrineMigrations/Version20161001072726.php
+++ b/app/DoctrineMigrations/Version20161001072726.php
@@ -11,9 +11,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
11 */ 11 */
12class Version20161001072726 extends WallabagMigration 12class Version20161001072726 extends WallabagMigration
13{ 13{
14 /**
15 * @param Schema $schema
16 */
17 public function up(Schema $schema) 14 public function up(Schema $schema)
18 { 15 {
19 $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); 16 $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.');
@@ -98,9 +95,6 @@ class Version20161001072726 extends WallabagMigration
98 $this->addSql('ALTER TABLE ' . $this->getTable('annotation') . ' ADD CONSTRAINT FK_annotation_entry FOREIGN KEY (entry_id) REFERENCES ' . $this->getTable('entry') . ' (id) ON DELETE CASCADE'); 95 $this->addSql('ALTER TABLE ' . $this->getTable('annotation') . ' ADD CONSTRAINT FK_annotation_entry FOREIGN KEY (entry_id) REFERENCES ' . $this->getTable('entry') . ' (id) ON DELETE CASCADE');
99 } 96 }
100 97
101 /**
102 * @param Schema $schema
103 */
104 public function down(Schema $schema) 98 public function down(Schema $schema)
105 { 99 {
106 throw new SkipMigrationException('Too complex ...'); 100 throw new SkipMigrationException('Too complex ...');
diff --git a/app/DoctrineMigrations/Version20161022134138.php b/app/DoctrineMigrations/Version20161022134138.php
index 231aada7..d993363c 100644
--- a/app/DoctrineMigrations/Version20161022134138.php
+++ b/app/DoctrineMigrations/Version20161022134138.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20161022134138 extends WallabagMigration 11class Version20161022134138 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL'); 15 $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL');
@@ -41,9 +38,6 @@ class Version20161022134138 extends WallabagMigration
41 $this->addSql('ALTER TABLE ' . $this->getTable('user') . ' CHANGE `name` `name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'); 38 $this->addSql('ALTER TABLE ' . $this->getTable('user') . ' CHANGE `name` `name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;');
42 } 39 }
43 40
44 /**
45 * @param Schema $schema
46 */
47 public function down(Schema $schema) 41 public function down(Schema $schema)
48 { 42 {
49 $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL'); 43 $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL');
diff --git a/app/DoctrineMigrations/Version20161024212538.php b/app/DoctrineMigrations/Version20161024212538.php
index a7e3c3c8..fa028ac0 100644
--- a/app/DoctrineMigrations/Version20161024212538.php
+++ b/app/DoctrineMigrations/Version20161024212538.php
@@ -12,9 +12,6 @@ class Version20161024212538 extends WallabagMigration
12{ 12{
13 private $constraintName = 'IDX_user_oauth_client'; 13 private $constraintName = 'IDX_user_oauth_client';
14 14
15 /**
16 * @param Schema $schema
17 */
18 public function up(Schema $schema) 15 public function up(Schema $schema)
19 { 16 {
20 $clientsTable = $schema->getTable($this->getTable('oauth2_clients')); 17 $clientsTable = $schema->getTable($this->getTable('oauth2_clients'));
@@ -32,9 +29,6 @@ class Version20161024212538 extends WallabagMigration
32 ); 29 );
33 } 30 }
34 31
35 /**
36 * @param Schema $schema
37 */
38 public function down(Schema $schema) 32 public function down(Schema $schema)
39 { 33 {
40 $clientsTable = $schema->getTable($this->getTable('oauth2_clients')); 34 $clientsTable = $schema->getTable($this->getTable('oauth2_clients'));
diff --git a/app/DoctrineMigrations/Version20161031132655.php b/app/DoctrineMigrations/Version20161031132655.php
index 8d576862..ec58cb2a 100644
--- a/app/DoctrineMigrations/Version20161031132655.php
+++ b/app/DoctrineMigrations/Version20161031132655.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20161031132655 extends WallabagMigration 11class Version20161031132655 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $images = $this->container 15 $images = $this->container
@@ -25,9 +22,6 @@ class Version20161031132655 extends WallabagMigration
25 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('download_images_enabled', 0, 'misc')"); 22 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('download_images_enabled', 0, 'misc')");
26 } 23 }
27 24
28 /**
29 * @param Schema $schema
30 */
31 public function down(Schema $schema) 25 public function down(Schema $schema)
32 { 26 {
33 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'download_images_enabled';"); 27 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'download_images_enabled';");
diff --git a/app/DoctrineMigrations/Version20161104073720.php b/app/DoctrineMigrations/Version20161104073720.php
index e2b18a46..e0289ec9 100644
--- a/app/DoctrineMigrations/Version20161104073720.php
+++ b/app/DoctrineMigrations/Version20161104073720.php
@@ -12,9 +12,6 @@ class Version20161104073720 extends WallabagMigration
12{ 12{
13 private $indexName = 'IDX_entry_created_at'; 13 private $indexName = 'IDX_entry_created_at';
14 14
15 /**
16 * @param Schema $schema
17 */
18 public function up(Schema $schema) 15 public function up(Schema $schema)
19 { 16 {
20 $entryTable = $schema->getTable($this->getTable('entry')); 17 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -23,9 +20,6 @@ class Version20161104073720 extends WallabagMigration
23 $entryTable->addIndex(['created_at'], $this->indexName); 20 $entryTable->addIndex(['created_at'], $this->indexName);
24 } 21 }
25 22
26 /**
27 * @param Schema $schema
28 */
29 public function down(Schema $schema) 23 public function down(Schema $schema)
30 { 24 {
31 $entryTable = $schema->getTable($this->getTable('entry')); 25 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20161106113822.php b/app/DoctrineMigrations/Version20161106113822.php
index 3a3c90db..5a4831f4 100644
--- a/app/DoctrineMigrations/Version20161106113822.php
+++ b/app/DoctrineMigrations/Version20161106113822.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20161106113822 extends WallabagMigration 11class Version20161106113822 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $configTable = $schema->getTable($this->getTable('config')); 15 $configTable = $schema->getTable($this->getTable('config'));
@@ -25,9 +22,6 @@ class Version20161106113822 extends WallabagMigration
25 ]); 22 ]);
26 } 23 }
27 24
28 /**
29 * @param Schema $schema
30 */
31 public function down(Schema $schema) 25 public function down(Schema $schema)
32 { 26 {
33 $configTable = $schema->getTable($this->getTable('config')); 27 $configTable = $schema->getTable($this->getTable('config'));
diff --git a/app/DoctrineMigrations/Version20161117071626.php b/app/DoctrineMigrations/Version20161117071626.php
index fc66e7e3..bafb70da 100644
--- a/app/DoctrineMigrations/Version20161117071626.php
+++ b/app/DoctrineMigrations/Version20161117071626.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20161117071626 extends WallabagMigration 11class Version20161117071626 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $share = $this->container 15 $share = $this->container
@@ -36,9 +33,6 @@ class Version20161117071626 extends WallabagMigration
36 $this->skipIf(false !== $share && false !== $unmark, 'It seems that you already played this migration.'); 33 $this->skipIf(false !== $share && false !== $unmark, 'It seems that you already played this migration.');
37 } 34 }
38 35
39 /**
40 * @param Schema $schema
41 */
42 public function down(Schema $schema) 36 public function down(Schema $schema)
43 { 37 {
44 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'share_unmark';"); 38 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'share_unmark';");
diff --git a/app/DoctrineMigrations/Version20161118134328.php b/app/DoctrineMigrations/Version20161118134328.php
index 8302408e..2298447a 100644
--- a/app/DoctrineMigrations/Version20161118134328.php
+++ b/app/DoctrineMigrations/Version20161118134328.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20161118134328 extends WallabagMigration 11class Version20161118134328 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $entryTable = $schema->getTable($this->getTable('entry')); 15 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -25,9 +22,6 @@ class Version20161118134328 extends WallabagMigration
25 ]); 22 ]);
26 } 23 }
27 24
28 /**
29 * @param Schema $schema
30 */
31 public function down(Schema $schema) 25 public function down(Schema $schema)
32 { 26 {
33 $entryTable = $schema->getTable($this->getTable('entry')); 27 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20161122144743.php b/app/DoctrineMigrations/Version20161122144743.php
index 08a41f48..e628f058 100644
--- a/app/DoctrineMigrations/Version20161122144743.php
+++ b/app/DoctrineMigrations/Version20161122144743.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20161122144743 extends WallabagMigration 11class Version20161122144743 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $access = $this->container 15 $access = $this->container
@@ -25,9 +22,6 @@ class Version20161122144743 extends WallabagMigration
25 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('restricted_access', 0, 'entry')"); 22 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('restricted_access', 0, 'entry')");
26 } 23 }
27 24
28 /**
29 * @param Schema $schema
30 */
31 public function down(Schema $schema) 25 public function down(Schema $schema)
32 { 26 {
33 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'restricted_access';"); 27 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'restricted_access';");
diff --git a/app/DoctrineMigrations/Version20161122203647.php b/app/DoctrineMigrations/Version20161122203647.php
index 60ddeb08..27fe7d2c 100644
--- a/app/DoctrineMigrations/Version20161122203647.php
+++ b/app/DoctrineMigrations/Version20161122203647.php
@@ -18,9 +18,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
18 */ 18 */
19class Version20161122203647 extends WallabagMigration 19class Version20161122203647 extends WallabagMigration
20{ 20{
21 /**
22 * @param Schema $schema
23 */
24 public function up(Schema $schema) 21 public function up(Schema $schema)
25 { 22 {
26 $userTable = $schema->getTable($this->getTable('user')); 23 $userTable = $schema->getTable($this->getTable('user'));
@@ -31,9 +28,6 @@ class Version20161122203647 extends WallabagMigration
31 $userTable->dropColumn('credentials_expired'); 28 $userTable->dropColumn('credentials_expired');
32 } 29 }
33 30
34 /**
35 * @param Schema $schema
36 */
37 public function down(Schema $schema) 31 public function down(Schema $schema)
38 { 32 {
39 $userTable = $schema->getTable($this->getTable('user')); 33 $userTable = $schema->getTable($this->getTable('user'));
diff --git a/app/DoctrineMigrations/Version20161128084725.php b/app/DoctrineMigrations/Version20161128084725.php
index ef747154..e22e842f 100644
--- a/app/DoctrineMigrations/Version20161128084725.php
+++ b/app/DoctrineMigrations/Version20161128084725.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20161128084725 extends WallabagMigration 11class Version20161128084725 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $configTable = $schema->getTable($this->getTable('config')); 15 $configTable = $schema->getTable($this->getTable('config'));
@@ -21,9 +18,6 @@ class Version20161128084725 extends WallabagMigration
21 $configTable->addColumn('list_mode', 'integer', ['notnull' => false]); 18 $configTable->addColumn('list_mode', 'integer', ['notnull' => false]);
22 } 19 }
23 20
24 /**
25 * @param Schema $schema
26 */
27 public function down(Schema $schema) 21 public function down(Schema $schema)
28 { 22 {
29 $configTable = $schema->getTable($this->getTable('config')); 23 $configTable = $schema->getTable($this->getTable('config'));
diff --git a/app/DoctrineMigrations/Version20161128131503.php b/app/DoctrineMigrations/Version20161128131503.php
index cd434617..2a34d448 100644
--- a/app/DoctrineMigrations/Version20161128131503.php
+++ b/app/DoctrineMigrations/Version20161128131503.php
@@ -16,9 +16,6 @@ class Version20161128131503 extends WallabagMigration
16 'expires_at' => 'datetime', 16 'expires_at' => 'datetime',
17 ]; 17 ];
18 18
19 /**
20 * @param Schema $schema
21 */
22 public function up(Schema $schema) 19 public function up(Schema $schema)
23 { 20 {
24 $userTable = $schema->getTable($this->getTable('user')); 21 $userTable = $schema->getTable($this->getTable('user'));
@@ -29,9 +26,6 @@ class Version20161128131503 extends WallabagMigration
29 } 26 }
30 } 27 }
31 28
32 /**
33 * @param Schema $schema
34 */
35 public function down(Schema $schema) 29 public function down(Schema $schema)
36 { 30 {
37 $userTable = $schema->getTable($this->getTable('user')); 31 $userTable = $schema->getTable($this->getTable('user'));
diff --git a/app/DoctrineMigrations/Version20161214094402.php b/app/DoctrineMigrations/Version20161214094402.php
index e9f1a302..0240f599 100644
--- a/app/DoctrineMigrations/Version20161214094402.php
+++ b/app/DoctrineMigrations/Version20161214094402.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20161214094402 extends WallabagMigration 11class Version20161214094402 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $entryTable = $schema->getTable($this->getTable('entry')); 15 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -35,9 +32,6 @@ class Version20161214094402 extends WallabagMigration
35 } 32 }
36 } 33 }
37 34
38 /**
39 * @param Schema $schema
40 */
41 public function down(Schema $schema) 35 public function down(Schema $schema)
42 { 36 {
43 $entryTable = $schema->getTable($this->getTable('entry')); 37 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20161214094403.php b/app/DoctrineMigrations/Version20161214094403.php
index 1f9e1f6b..c6003cb3 100644
--- a/app/DoctrineMigrations/Version20161214094403.php
+++ b/app/DoctrineMigrations/Version20161214094403.php
@@ -12,9 +12,6 @@ class Version20161214094403 extends WallabagMigration
12{ 12{
13 private $indexName = 'IDX_entry_uid'; 13 private $indexName = 'IDX_entry_uid';
14 14
15 /**
16 * @param Schema $schema
17 */
18 public function up(Schema $schema) 15 public function up(Schema $schema)
19 { 16 {
20 $entryTable = $schema->getTable($this->getTable('entry')); 17 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -23,9 +20,6 @@ class Version20161214094403 extends WallabagMigration
23 $entryTable->addIndex(['uid'], $this->indexName); 20 $entryTable->addIndex(['uid'], $this->indexName);
24 } 21 }
25 22
26 /**
27 * @param Schema $schema
28 */
29 public function down(Schema $schema) 23 public function down(Schema $schema)
30 { 24 {
31 $entryTable = $schema->getTable($this->getTable('entry')); 25 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20170127093841.php b/app/DoctrineMigrations/Version20170127093841.php
index 491b9383..d8eb34e5 100644
--- a/app/DoctrineMigrations/Version20170127093841.php
+++ b/app/DoctrineMigrations/Version20170127093841.php
@@ -13,9 +13,6 @@ class Version20170127093841 extends WallabagMigration
13 private $indexStarredName = 'IDX_entry_starred'; 13 private $indexStarredName = 'IDX_entry_starred';
14 private $indexArchivedName = 'IDX_entry_archived'; 14 private $indexArchivedName = 'IDX_entry_archived';
15 15
16 /**
17 * @param Schema $schema
18 */
19 public function up(Schema $schema) 16 public function up(Schema $schema)
20 { 17 {
21 $entryTable = $schema->getTable($this->getTable('entry')); 18 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -25,9 +22,6 @@ class Version20170127093841 extends WallabagMigration
25 $entryTable->addIndex(['is_archived'], $this->indexArchivedName); 22 $entryTable->addIndex(['is_archived'], $this->indexArchivedName);
26 } 23 }
27 24
28 /**
29 * @param Schema $schema
30 */
31 public function down(Schema $schema) 25 public function down(Schema $schema)
32 { 26 {
33 $entryTable = $schema->getTable($this->getTable('entry')); 27 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20170327194233.php b/app/DoctrineMigrations/Version20170327194233.php
index 1aa20eb5..268f8cde 100644
--- a/app/DoctrineMigrations/Version20170327194233.php
+++ b/app/DoctrineMigrations/Version20170327194233.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20170327194233 extends WallabagMigration 11class Version20170327194233 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $scuttle = $this->container 15 $scuttle = $this->container
@@ -26,9 +23,6 @@ class Version20170327194233 extends WallabagMigration
26 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('scuttle_url', 'http://scuttle.org', 'entry')"); 23 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('scuttle_url', 'http://scuttle.org', 'entry')");
27 } 24 }
28 25
29 /**
30 * @param Schema $schema
31 */
32 public function down(Schema $schema) 26 public function down(Schema $schema)
33 { 27 {
34 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'share_scuttle';"); 28 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'share_scuttle';");
diff --git a/app/DoctrineMigrations/Version20170405182620.php b/app/DoctrineMigrations/Version20170405182620.php
index c7752664..798c72af 100644
--- a/app/DoctrineMigrations/Version20170405182620.php
+++ b/app/DoctrineMigrations/Version20170405182620.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20170405182620 extends WallabagMigration 11class Version20170405182620 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $entryTable = $schema->getTable($this->getTable('entry')); 15 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -30,9 +27,6 @@ class Version20170405182620 extends WallabagMigration
30 ]); 27 ]);
31 } 28 }
32 29
33 /**
34 * @param Schema $schema
35 */
36 public function down(Schema $schema) 30 public function down(Schema $schema)
37 { 31 {
38 $entryTable = $schema->getTable($this->getTable('entry')); 32 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20170407200919.php b/app/DoctrineMigrations/Version20170407200919.php
index ad05eadf..d9fff6c3 100644
--- a/app/DoctrineMigrations/Version20170407200919.php
+++ b/app/DoctrineMigrations/Version20170407200919.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20170407200919 extends WallabagMigration 11class Version20170407200919 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $entryTable = $schema->getTable($this->getTable('entry')); 15 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -21,9 +18,6 @@ class Version20170407200919 extends WallabagMigration
21 $entryTable->dropColumn('is_public'); 18 $entryTable->dropColumn('is_public');
22 } 19 }
23 20
24 /**
25 * @param Schema $schema
26 */
27 public function down(Schema $schema) 21 public function down(Schema $schema)
28 { 22 {
29 $entryTable = $schema->getTable($this->getTable('entry')); 23 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20170420134133.php b/app/DoctrineMigrations/Version20170420134133.php
index c1732578..2bf05346 100644
--- a/app/DoctrineMigrations/Version20170420134133.php
+++ b/app/DoctrineMigrations/Version20170420134133.php
@@ -10,17 +10,11 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20170420134133 extends WallabagMigration 11class Version20170420134133 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'download_pictures';"); 15 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'download_pictures';");
19 } 16 }
20 17
21 /**
22 * @param Schema $schema
23 */
24 public function down(Schema $schema) 18 public function down(Schema $schema)
25 { 19 {
26 $downloadPictures = $this->container 20 $downloadPictures = $this->container
diff --git a/app/DoctrineMigrations/Version20170501115751.php b/app/DoctrineMigrations/Version20170501115751.php
index fd238cef..a879cd44 100644
--- a/app/DoctrineMigrations/Version20170501115751.php
+++ b/app/DoctrineMigrations/Version20170501115751.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20170501115751 extends WallabagMigration 11class Version20170501115751 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $this->skipIf($schema->hasTable($this->getTable('site_credential')), 'It seems that you already played this migration.'); 15 $this->skipIf($schema->hasTable($this->getTable('site_credential')), 'It seems that you already played this migration.');
@@ -34,9 +31,6 @@ class Version20170501115751 extends WallabagMigration
34 } 31 }
35 } 32 }
36 33
37 /**
38 * @param Schema $schema
39 */
40 public function down(Schema $schema) 34 public function down(Schema $schema)
41 { 35 {
42 $schema->dropTable($this->getTable('site_credential')); 36 $schema->dropTable($this->getTable('site_credential'));
diff --git a/app/DoctrineMigrations/Version20170510082609.php b/app/DoctrineMigrations/Version20170510082609.php
index 541ae1fd..ddc894a6 100644
--- a/app/DoctrineMigrations/Version20170510082609.php
+++ b/app/DoctrineMigrations/Version20170510082609.php
@@ -17,9 +17,6 @@ class Version20170510082609 extends WallabagMigration
17 'email_canonical', 17 'email_canonical',
18 ]; 18 ];
19 19
20 /**
21 * @param Schema $schema
22 */
23 public function up(Schema $schema) 20 public function up(Schema $schema)
24 { 21 {
25 $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL'); 22 $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL');
@@ -29,9 +26,6 @@ class Version20170510082609 extends WallabagMigration
29 } 26 }
30 } 27 }
31 28
32 /**
33 * @param Schema $schema
34 */
35 public function down(Schema $schema) 29 public function down(Schema $schema)
36 { 30 {
37 $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL'); 31 $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL');
diff --git a/app/DoctrineMigrations/Version20170511115400.php b/app/DoctrineMigrations/Version20170511115400.php
index cb80dd45..9a89cfb8 100644
--- a/app/DoctrineMigrations/Version20170511115400.php
+++ b/app/DoctrineMigrations/Version20170511115400.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20170511115400 extends WallabagMigration 11class Version20170511115400 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $entryTable = $schema->getTable($this->getTable('entry')); 15 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -24,9 +21,6 @@ class Version20170511115400 extends WallabagMigration
24 ]); 21 ]);
25 } 22 }
26 23
27 /**
28 * @param Schema $schema
29 */
30 public function down(Schema $schema) 24 public function down(Schema $schema)
31 { 25 {
32 $entryTable = $schema->getTable($this->getTable('entry')); 26 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20170602075214.php b/app/DoctrineMigrations/Version20170602075214.php
index 12997c71..f72839b2 100644
--- a/app/DoctrineMigrations/Version20170602075214.php
+++ b/app/DoctrineMigrations/Version20170602075214.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20170602075214 extends WallabagMigration 11class Version20170602075214 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $apiUserRegistration = $this->container 15 $apiUserRegistration = $this->container
@@ -25,9 +22,6 @@ class Version20170602075214 extends WallabagMigration
25 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('api_user_registration', '0', 'api')"); 22 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('api_user_registration', '0', 'api')");
26 } 23 }
27 24
28 /**
29 * @param Schema $schema
30 */
31 public function down(Schema $schema) 25 public function down(Schema $schema)
32 { 26 {
33 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'api_user_registration';"); 27 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'api_user_registration';");
diff --git a/app/DoctrineMigrations/Version20170606155640.php b/app/DoctrineMigrations/Version20170606155640.php
index 153d31b8..099e5329 100644
--- a/app/DoctrineMigrations/Version20170606155640.php
+++ b/app/DoctrineMigrations/Version20170606155640.php
@@ -11,9 +11,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
11 */ 11 */
12class Version20170606155640 extends WallabagMigration 12class Version20170606155640 extends WallabagMigration
13{ 13{
14 /**
15 * @param Schema $schema
16 */
17 public function up(Schema $schema) 14 public function up(Schema $schema)
18 { 15 {
19 $apiUserRegistration = $this->container 16 $apiUserRegistration = $this->container
@@ -26,9 +23,6 @@ class Version20170606155640 extends WallabagMigration
26 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'wallabag_url'"); 23 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'wallabag_url'");
27 } 24 }
28 25
29 /**
30 * @param Schema $schema
31 */
32 public function down(Schema $schema) 26 public function down(Schema $schema)
33 { 27 {
34 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('wallabag_url', 'wallabag.me', 'misc')"); 28 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('wallabag_url', 'wallabag.me', 'misc')");
diff --git a/app/DoctrineMigrations/Version20170719231144.php b/app/DoctrineMigrations/Version20170719231144.php
index 93fe7f26..7a9731d4 100644
--- a/app/DoctrineMigrations/Version20170719231144.php
+++ b/app/DoctrineMigrations/Version20170719231144.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20170719231144 extends WallabagMigration 11class Version20170719231144 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); 15 $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.');
@@ -89,9 +86,6 @@ class Version20170719231144 extends WallabagMigration
89 ); 86 );
90 } 87 }
91 88
92 /**
93 * @param Schema $schema
94 */
95 public function down(Schema $schema) 89 public function down(Schema $schema)
96 { 90 {
97 throw new SkipMigrationException('Too complex ...'); 91 throw new SkipMigrationException('Too complex ...');
diff --git a/app/DoctrineMigrations/Version20170824113337.php b/app/DoctrineMigrations/Version20170824113337.php
index 5fc31de9..dc20f6d9 100644
--- a/app/DoctrineMigrations/Version20170824113337.php
+++ b/app/DoctrineMigrations/Version20170824113337.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20170824113337 extends WallabagMigration 11class Version20170824113337 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $entryTable = $schema->getTable($this->getTable('entry')); 15 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -37,9 +34,6 @@ class Version20170824113337 extends WallabagMigration
37 ); 34 );
38 } 35 }
39 36
40 /**
41 * @param Schema $schema
42 */
43 public function down(Schema $schema) 37 public function down(Schema $schema)
44 { 38 {
45 $entryTable = $schema->getTable($this->getTable('entry')); 39 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20171008195606.php b/app/DoctrineMigrations/Version20171008195606.php
index 6974232a..60d8777f 100644
--- a/app/DoctrineMigrations/Version20171008195606.php
+++ b/app/DoctrineMigrations/Version20171008195606.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20171008195606 extends WallabagMigration 11class Version20171008195606 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); 15 $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.');
@@ -29,9 +26,6 @@ class Version20171008195606 extends WallabagMigration
29 } 26 }
30 } 27 }
31 28
32 /**
33 * @param Schema $schema
34 */
35 public function down(Schema $schema) 29 public function down(Schema $schema)
36 { 30 {
37 $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); 31 $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.');
diff --git a/app/DoctrineMigrations/Version20171105202000.php b/app/DoctrineMigrations/Version20171105202000.php
index 5ed787b9..5313a336 100644
--- a/app/DoctrineMigrations/Version20171105202000.php
+++ b/app/DoctrineMigrations/Version20171105202000.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20171105202000 extends WallabagMigration 11class Version20171105202000 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $entryTable = $schema->getTable($this->getTable('entry')); 15 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -24,9 +21,6 @@ class Version20171105202000 extends WallabagMigration
24 ]); 21 ]);
25 } 22 }
26 23
27 /**
28 * @param Schema $schema
29 */
30 public function down(Schema $schema) 24 public function down(Schema $schema)
31 { 25 {
32 $entryTable = $schema->getTable($this->getTable('entry')); 26 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20171120163128.php b/app/DoctrineMigrations/Version20171120163128.php
index 48f10f1d..a6d126a5 100644
--- a/app/DoctrineMigrations/Version20171120163128.php
+++ b/app/DoctrineMigrations/Version20171120163128.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20171120163128 extends WallabagMigration 11class Version20171120163128 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $storeArticleHeaders = $this->container 15 $storeArticleHeaders = $this->container
@@ -25,9 +22,6 @@ class Version20171120163128 extends WallabagMigration
25 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('store_article_headers', '0', 'entry')"); 22 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('store_article_headers', '0', 'entry')");
26 } 23 }
27 24
28 /**
29 * @param Schema $schema
30 */
31 public function down(Schema $schema) 25 public function down(Schema $schema)
32 { 26 {
33 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'store_article_headers';"); 27 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'store_article_headers';");
diff --git a/app/DoctrineMigrations/Version20171125164500.php b/app/DoctrineMigrations/Version20171125164500.php
index a72463f0..2ee49d87 100644
--- a/app/DoctrineMigrations/Version20171125164500.php
+++ b/app/DoctrineMigrations/Version20171125164500.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20171125164500 extends WallabagMigration 11class Version20171125164500 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $shaarliShareOriginUrl = $this->container 15 $shaarliShareOriginUrl = $this->container
@@ -25,9 +22,6 @@ class Version20171125164500 extends WallabagMigration
25 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('shaarli_share_origin_url', '0', 'entry')"); 22 $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('shaarli_share_origin_url', '0', 'entry')");
26 } 23 }
27 24
28 /**
29 * @param Schema $schema
30 */
31 public function down(Schema $schema) 25 public function down(Schema $schema)
32 { 26 {
33 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'shaarli_share_origin_url';"); 27 $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'shaarli_share_origin_url';");
diff --git a/app/DoctrineMigrations/Version20180405182455.php b/app/DoctrineMigrations/Version20180405182455.php
index 50fe97c7..1b8c3b0e 100755
--- a/app/DoctrineMigrations/Version20180405182455.php
+++ b/app/DoctrineMigrations/Version20180405182455.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20180405182455 extends WallabagMigration 11class Version20180405182455 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $entryTable = $schema->getTable($this->getTable('entry')); 15 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -37,9 +34,6 @@ class Version20180405182455 extends WallabagMigration
37 ); 34 );
38 } 35 }
39 36
40 /**
41 * @param Schema $schema
42 */
43 public function down(Schema $schema) 37 public function down(Schema $schema)
44 { 38 {
45 $entryTable = $schema->getTable($this->getTable('entry')); 39 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20181128203230.php b/app/DoctrineMigrations/Version20181128203230.php
index d1b09fc7..add161cd 100644
--- a/app/DoctrineMigrations/Version20181128203230.php
+++ b/app/DoctrineMigrations/Version20181128203230.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20181128203230 extends WallabagMigration 11class Version20181128203230 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration can only be applied on \'mysql\'.'); 15 $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration can only be applied on \'mysql\'.');
diff --git a/app/DoctrineMigrations/Version20190129120000.php b/app/DoctrineMigrations/Version20190129120000.php
index 3632e762..8c5e28ca 100644
--- a/app/DoctrineMigrations/Version20190129120000.php
+++ b/app/DoctrineMigrations/Version20190129120000.php
@@ -118,9 +118,6 @@ final class Version20190129120000 extends WallabagMigration
118 ], 118 ],
119 ]; 119 ];
120 120
121 /**
122 * @param Schema $schema
123 */
124 public function up(Schema $schema) 121 public function up(Schema $schema)
125 { 122 {
126 foreach ($this->settings as $setting) { 123 foreach ($this->settings as $setting) {
@@ -137,9 +134,6 @@ final class Version20190129120000 extends WallabagMigration
137 } 134 }
138 } 135 }
139 136
140 /**
141 * @param Schema $schema
142 */
143 public function down(Schema $schema) 137 public function down(Schema $schema)
144 { 138 {
145 $this->skipIf(true, 'These settings are required and should not be removed.'); 139 $this->skipIf(true, 'These settings are required and should not be removed.');
diff --git a/app/DoctrineMigrations/Version20190401105353.php b/app/DoctrineMigrations/Version20190401105353.php
index d27962db..600fc162 100644
--- a/app/DoctrineMigrations/Version20190401105353.php
+++ b/app/DoctrineMigrations/Version20190401105353.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20190401105353 extends WallabagMigration 11class Version20190401105353 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $entryTable = $schema->getTable($this->getTable('entry')); 15 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -27,9 +24,6 @@ class Version20190401105353 extends WallabagMigration
27 $entryTable->addIndex(['user_id', 'hashed_url'], 'hashed_url_user_id', [], ['lengths' => [null, 40]]); 24 $entryTable->addIndex(['user_id', 'hashed_url'], 'hashed_url_user_id', [], ['lengths' => [null, 40]]);
28 } 25 }
29 26
30 /**
31 * @param Schema $schema
32 */
33 public function down(Schema $schema) 27 public function down(Schema $schema)
34 { 28 {
35 $entryTable = $schema->getTable($this->getTable('entry')); 29 $entryTable = $schema->getTable($this->getTable('entry'));
diff --git a/app/DoctrineMigrations/Version20190601125843.php b/app/DoctrineMigrations/Version20190601125843.php
index 0e97606e..cbb92edc 100644
--- a/app/DoctrineMigrations/Version20190601125843.php
+++ b/app/DoctrineMigrations/Version20190601125843.php
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration;
10 */ 10 */
11class Version20190601125843 extends WallabagMigration 11class Version20190601125843 extends WallabagMigration
12{ 12{
13 /**
14 * @param Schema $schema
15 */
16 public function up(Schema $schema) 13 public function up(Schema $schema)
17 { 14 {
18 $entryTable = $schema->getTable($this->getTable('entry')); 15 $entryTable = $schema->getTable($this->getTable('entry'));
@@ -34,9 +31,6 @@ class Version20190601125843 extends WallabagMigration
34 $entryTable->addIndex(['user_id', 'hashed_given_url'], 'hashed_given_url_user_id', [], ['lengths' => [null, 40]]); 31 $entryTable->addIndex(['user_id', 'hashed_given_url'], 'hashed_given_url_user_id', [], ['lengths' => [null, 40]]);
35 } 32 }
36 33
37 /**
38 * @param Schema $schema
39 */
40 public function down(Schema $schema) 34 public function down(Schema $schema)
41 { 35 {
42 $entryTable = $schema->getTable($this->getTable('entry')); 36 $entryTable = $schema->getTable($this->getTable('entry'));