aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/DoctrineMigrations/Version20190619093534.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/DoctrineMigrations/Version20190619093534.php b/app/DoctrineMigrations/Version20190619093534.php
index 04c3a9fe..e9744f1b 100644
--- a/app/DoctrineMigrations/Version20190619093534.php
+++ b/app/DoctrineMigrations/Version20190619093534.php
@@ -14,7 +14,7 @@ final class Version20190619093534 extends WallabagMigration
14 public function up(Schema $schema): void 14 public function up(Schema $schema): void
15 { 15 {
16 // this up() migration is auto-generated, please modify it to your needs 16 // this up() migration is auto-generated, please modify it to your needs
17 $this->abortIf('sqlite' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'sqlite\'.'); 17 $this->skipIf('sqlite' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'sqlite\'.');
18 18
19 $this->addSql('UPDATE ' . $this->getTable('entry', true) . ' SET reading_time = 0 WHERE reading_time IS NULL;'); 19 $this->addSql('UPDATE ' . $this->getTable('entry', true) . ' SET reading_time = 0 WHERE reading_time IS NULL;');
20 20
@@ -42,7 +42,7 @@ final class Version20190619093534 extends WallabagMigration
42 public function down(Schema $schema): void 42 public function down(Schema $schema): void
43 { 43 {
44 // this down() migration is auto-generated, please modify it to your needs 44 // this down() migration is auto-generated, please modify it to your needs
45 $this->abortIf('sqlite' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'sqlite\'.'); 45 $this->skipIf('sqlite' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'sqlite\'.');
46 46
47 $this->addSql('DROP INDEX IDX_F4D18282A76ED395'); 47 $this->addSql('DROP INDEX IDX_F4D18282A76ED395');
48 $this->addSql('DROP INDEX created_at'); 48 $this->addSql('DROP INDEX created_at');