aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations/Version20170623092923.php
diff options
context:
space:
mode:
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');