aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations/Version20170623092923.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-07-09 19:29:05 +0200
committerThomas Citharel <tcit@tcit.fr>2017-07-09 19:29:05 +0200
commit8b9cf608149d7240ec29b8aee2d14b5411af8aaf (patch)
tree2677ec0f941f5eb18f9492141eb97ba17e049b4e /app/DoctrineMigrations/Version20170623092923.php
parent314ff292f012b879c2b43deed48a1c82be9edfd6 (diff)
downloadwallabag-8b9cf608149d7240ec29b8aee2d14b5411af8aaf.tar.gz
wallabag-8b9cf608149d7240ec29b8aee2d14b5411af8aaf.tar.zst
wallabag-8b9cf608149d7240ec29b8aee2d14b5411af8aaf.zip
fix testsnotifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/DoctrineMigrations/Version20170623092923.php')
-rw-r--r--app/DoctrineMigrations/Version20170623092923.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/DoctrineMigrations/Version20170623092923.php b/app/DoctrineMigrations/Version20170623092923.php
index 5c6eafa7..285e9eb6 100644
--- a/app/DoctrineMigrations/Version20170623092923.php
+++ b/app/DoctrineMigrations/Version20170623092923.php
@@ -45,7 +45,7 @@ class Version20170623092923 extends AbstractMigration implements ContainerAwareI
45 $table->addColumn('parameter', 'text'); 45 $table->addColumn('parameter', 'text');
46 $table->addIndex(['user_id'], 'idx_user'); 46 $table->addIndex(['user_id'], 'idx_user');
47 $table->setPrimaryKey(['id']); 47 $table->setPrimaryKey(['id']);
48 $table->addForeignKeyConstraint($this->getTable('user'), ['user_id'], ['id'], [], 'fk_user'); 48 $table->addForeignKeyConstraint($this->getTable('user'), ['user_id'], ['id'], [], 'fk_user_notification');
49 49
50 if ('postgresql' === $this->connection->getDatabasePlatform()->getName()) { 50 if ('postgresql' === $this->connection->getDatabasePlatform()->getName()) {
51 $schema->dropSequence('notification_id_seq'); 51 $schema->dropSequence('notification_id_seq');