diff options
author | lizyn <zhiylin@outlook.com> | 2020-02-24 10:04:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 10:04:13 +0800 |
commit | b19df31d78d881a43bcf6b3215e5fc3781e8e8aa (patch) | |
tree | d0d9861694a4b5e5fbfdbeb53c255ecd15fe9328 /app/DoctrineMigrations/Version20161001072726.php | |
parent | 4d0c632c70ea50d459c3c55ddda2e0f394dd51cb (diff) | |
parent | 04d918cae0227c06a41d27fb6533dddbf30dfe71 (diff) | |
download | wallabag-b19df31d78d881a43bcf6b3215e5fc3781e8e8aa.tar.gz wallabag-b19df31d78d881a43bcf6b3215e5fc3781e8e8aa.tar.zst wallabag-b19df31d78d881a43bcf6b3215e5fc3781e8e8aa.zip |
Merge pull request #1 from wallabag/master
Keep up with the master again
Diffstat (limited to 'app/DoctrineMigrations/Version20161001072726.php')
-rw-r--r-- | app/DoctrineMigrations/Version20161001072726.php | 6 |
1 files changed, 0 insertions, 6 deletions
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 | */ |
12 | class Version20161001072726 extends WallabagMigration | 12 | class 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 ...'); |