demarches-normaliennes/app
Pierre de La Morinerie 71e1b6c973 models: delete AdministrateursProcedure when destroying Administrateur
By default, `has_and_belongs_to_many` properly deletes the record in
the join table.

However, as the association is declared manually with a
`has_many / through`, it doesn't delete the joined record automatically.

As we also lack a foreign-key contraint on the join table, that means
a dangling record remains in the join table.

To fix this, let's declare it a proper `has_and_belongs_to_many`
association, which will let the join record be deleted automatically
on destroy.
2022-03-01 16:58:04 +01:00
..
assets feat(dossier_submitted_message): add a new system to customize the standby page (/merci) after an user created his folder. this is a basic feature that will come with more options asap 2022-02-25 14:01:18 +01:00
controllers Merge branch 'main' into US/fix-avis 2022-02-28 15:08:25 +01:00
dashboards superadmin can show zone for a procedure 2021-12-23 19:07:42 +01:00
fields manager: remove support for old pj 2019-07-30 16:11:17 +02:00
graphql feat(api particulier): add MESRI field 2021-12-16 16:45:18 +01:00
helpers fix a11y-8.9.1 2022-02-02 19:03:40 +01:00
javascript fix(carto): show map UI before loading map styles 2022-03-01 11:08:07 +00:00
jobs Merge pull request #6928 from adullact/feature/6886-watermark-url 2022-02-08 11:45:26 +01:00
lib config: simplify mailer configuration again 2022-02-08 12:44:43 +01:00
mailers fix dossier deletion mailers 2022-01-25 11:46:05 +01:00
models models: delete AdministrateursProcedure when destroying Administrateur 2022-03-01 16:58:04 +01:00
policies policies: clarify the role of ChampPolicy 2020-06-24 15:42:30 +02:00
schemas fix(api particulier): remove $def key from pole emploi JSON schema 2021-12-16 16:45:18 +01:00
serializers fix(dossier): use depose_at instead of en_construction_at 2021-12-06 15:49:17 +01:00
services feat(ClamAV): add config to disable clamav usage 2022-02-15 09:15:47 +01:00
validators validators: rename revisions namespace to types_de_champ 2022-02-01 12:37:16 +01:00
views feat(dossier_submitted_message): add a new system to customize the standby page (/merci) after an user created his folder. this is a basic feature that will come with more options asap 2022-02-25 14:01:18 +01:00