Commit fc5f3a22 authored by okhin's avatar okhin 🚴

Merge branch 'preprod' into 'master'


See merge request !46
parents 65f57ed3 61c6866e
......@@ -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'])
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