Commit fc5f3a22 authored by okhin's avatar okhin 🚴

Merge branch 'preprod' into 'master'

Preprod

See merge request !46
parents 65f57ed3 61c6866e
Pipeline #2202 passed with stages
in 1 minute and 7 seconds
......@@ -41,7 +41,7 @@ class UneSeuleAdresse extends AbstractMigration
$this->execute('TRUNCATE TABLE adresses;');
// Add a unique index on user_id
$table->addIndex(['user_id'], ['unique' => true])
$table->addForeignKey('user_id', 'users', 'id', ['delete' => 'CASCADE'])
->removeColumn('alias')
->save();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment