demarches-normaliennes/db/migrate
2023-12-21 16:01:10 +01:00
..
20190709140415_add_export_queued_to_procedures.rb merge with the work of paul, using 3 links 2019-10-22 09:51:14 +02:00
20190730153555_recreate_structure.rb Replace old migrations with a single “recreate_structure” 2019-09-16 14:44:37 +02:00
20190805140346_gestionnaire_to_instructeur.rb Rename gestionnaires to instructeurs in db 2019-08-12 13:47:01 +02:00
20190808144607_link_user_and_instructeur.rb Link user and instructeur 2019-08-13 15:15:16 +02:00
20190809073736_link_user_and_administrateur.rb Link user and administrateur 2019-08-14 15:06:15 +02:00
20190819134252_create_groupe_instructeurs.rb Create GroupeInstructeur 2019-09-02 11:41:12 +02:00
20190819145355_add_groupe_instructeur_column_to_assign_tos.rb Link AssignTo et GroupeInstructeur 2019-09-02 11:41:12 +02:00
20190822143413_add_groupe_instructeur_id_column_to_dossier.rb Link Dossier and GroupeInstructeur 2019-09-03 06:47:02 +02:00
20190917115911_drop_flipflop_features.rb Remove unused columns and tables 2019-09-17 15:39:15 +02:00
20190917120039_remove_carrierwave_columns.rb Remove unused columns and tables 2019-09-17 15:39:15 +02:00
20190917120047_remove_devise_columns.rb Remove unused columns and tables 2019-09-17 15:39:15 +02:00
20190917120856_remove_unused_columns.rb Remove unused columns and tables 2019-09-17 15:39:15 +02:00
20190917151652_make_path_nonnull.rb Migration: Index and make Procedure.path nonnull 2019-09-17 16:30:48 +02:00
20190920122228_add_indexes_to_dossier.rb Add indexes to Dossier.state, Dossier.archived, Follow.unfollowed_at 2019-09-25 14:10:00 +02:00
20191014160538_add_routing_criteria_name_column_to_procedure.rb Add procedure routing criteria name 2019-10-16 10:30:55 +02:00
20191023183120_add_default_value_to_routing_criteria_name.rb Migration: add defaut value to routing critéria 2019-10-23 21:48:08 +02:00
20191024150452_remove_unique_constraint_on_instructeur_emails.rb instructeurs: create without providing the email 2019-11-04 10:44:24 +01:00
20191113142816_instructeurs_remove_email.rb Drop email on instructeurs 2019-11-13 15:38:44 +01:00
20191114084643_add_closed_at_to_procedures.rb Add closed_at to procedures table 2019-11-28 16:07:14 +01:00
20191127113700_add_unpublished_at_to_procedures.rb Add unpublished_at to procedures 2019-12-04 16:37:37 +01:00
20191128081324_add_near_deletion_notice_send_to_dossier.rb Add brouillon_close_to_expiration_notice_sent_at column to Dossier 2019-12-03 17:18:53 +01:00
20191209141641_remove_administration_id_from_dossier_operation_logs.rb Remove unused column 2019-12-11 17:07:26 +01:00
20191211101608_create_exports.rb Add Export Model 2019-12-18 13:13:15 +01:00
20191211113341_create_export_groupe_instructeur_join_table.rb Add Export Model 2019-12-18 13:13:15 +01:00
20191211153436_add_en_construction_close_to_expiration_to_dossiers.rb Add en_construction_close_to_expiration_notice_sent_at column 2020-03-18 15:25:02 +01:00
20191218103727_add_procedures_path_closed_at_hidden_at_index.rb Cleanup demarche archivee state 2020-01-07 11:13:42 +01:00
20200114113700_add_canonical_procedure_id_to_procedures.rb Add canonical_procedure_id to procedures 2020-01-28 12:49:53 +01:00
20200130165328_remove_unique_constraint_on_administrateur_emails.rb remove unique constraint on admin emails 2020-02-04 16:21:42 +01:00
20200210100938_add_weekly_email_notifications_to_assign_tos.rb Add the possibility to disable weekly email notifications (instructeur) && rename the column email_notifications_enabled to daily_email_notification_enabled 2020-02-12 13:02:31 +00:00
20200211170134_administrateurs_remove_email.rb supprime la colonne email des administrateurs 2020-02-17 15:01:40 +01:00
20200218144724_add_daily_email_notifications_enabled_to_assign_tos.rb Step1 : add new column to Assign_tos and make sure that the data is saved on form submit 2020-02-20 16:14:56 +01:00
20200226174444_add_groupe_instructeur_updated_at_to_dossiers.rb highlight routing criteria label when updated 2020-03-04 14:56:59 +01:00
20200227100001_remove_email_notifications_enabled_from_assign_tos.rb remove email_notifications_enabled column because of the new daily_email_notifications_enabled 2020-02-27 11:09:19 +01:00
20200304155418_add_diffusable_commercialement_to_etablissements.rb récupère les infos d'établissement avec infos non diffusables 2020-03-17 15:57:02 +00:00
20200319101825_add_en_construction_conservation_extension_to_dossiers.rb Do not add default to en_construction_conservation_extension 2020-03-26 11:46:27 +01:00
20200319103836_add_reason_to_deleted_dossiers.rb Add reason to DeletedDossier 2020-03-24 09:30:11 +01:00
20200326120134_add_default_to_en_construction_conservation_extension.rb Add default to en_construction_conservation_extension 2020-03-26 13:03:26 +01:00
20200331164240_add_termine_close_to_expiration_to_dossiers.rb Add termine_close_to_expiration_notice_sent_at to dossiers 2020-04-22 15:39:10 +02:00
20200401161821_add_instant_email_message_notifications_to_assign_tos.rb Envoie une notif aux followers_instructeurs le souhaitant 2020-04-09 14:17:07 +02:00
20200407135256_add_effectifs_mensuels_to_etablissements.rb fetch and show effectif mensuel 2020-04-21 14:22:11 +02:00
20200409075320_add_instant_email_dossier_notifications_to_assign_tos.rb Notifie instructeurs le souhaitant lors depot dossier 2020-04-09 15:02:05 +02:00
20200421174642_rename_effectif_mensuel.rb rename effectif columns 2020-04-21 21:13:07 +02:00
20200422090426_add_effectif_annee_anterieure.rb instructeurs: affiche l'effectif moyen annuel n-1 2020-04-23 09:53:27 +02:00
20200423171759_add_api_entreprise_token_to_procedures.rb store specific api-entreprise token for a procedure 2020-04-28 15:17:11 +02:00
20200429191305_add_bilans_bdf_to_etablissements.rb fetch and store bilans bdf 2020-04-30 16:15:16 +02:00
20200611122406_remove_dossier_procedure_id.rb Remove dossier procedure_id 2020-06-16 11:13:54 +02:00
20200630140356_create_traitements.rb use traitement model 2020-07-08 18:15:15 +02:00
20200707082256_remove_instructeur_id_and_add_instructeur_email_to_traitements.rb store instructeur_email in traitement 2020-07-08 18:15:15 +02:00
20200707082260_create_procedure_revisions.rb Add revisions migrations 2020-07-21 19:35:30 +02:00
20200707082261_create_procedure_revision_types_de_champ.rb Add revisions migrations 2020-07-21 19:35:30 +02:00
20200715143010_add_revoked_at_to_avis.rb revoke expert avis 2020-07-16 21:05:11 +02:00
20200722135121_add_dossiers_latest_updates_to_dossiers.rb add migration 2020-07-30 10:18:44 +02:00
20200819153016_add_enseigne_to_etablissements.rb prend en compte le nom de l'enseigne pour l'établissement 2020-08-20 14:23:02 +02:00
20200902103047_remove_type_de_champ_procedure_id.rb Remove procedure_id from type_de_champ 2020-09-03 15:23:58 +02:00
20200930143755_add_allow_instructor_invite_expert.rb add the possibility for administrator to refuse external review on a specific procedure 2020-10-01 10:55:19 +02:00
20201002124154_create_stats.rb cache landing data 2020-10-06 16:12:01 +02:00
20201103165913_add_devise_two_factor_to_administrations.rb add recoverable and two_factor stragegy for administration 2020-11-05 16:03:55 +01:00
20201104163658_create_archive_for_groupe_instructeur.rb Revert "Revert "Export de tous les dossier d'une démarche"" 2021-04-29 17:29:47 +02:00
20201105131443_rename_administrations_to_super_admins.rb refacto: rename administration to super_admin 2020-11-05 16:03:55 +01:00
20201110155516_add_relations_to_deleted_dossiers.rb add new columns to deleted dossiers 2020-11-12 12:18:59 +01:00
20201117122923_remove_dossier_operation_log_foreign_key.rb Remove foreign key dossier on dossier operations logs 2020-11-17 16:02:53 +01:00
20210107143316_create_experts.rb Ajout du model expert 2021-01-20 18:03:05 +01:00
20210107143938_link_user_and_expert.rb Ajout du model expert 2021-01-20 18:03:05 +01:00
20210112120658_create_experts_procedures.rb Procedure and expert link 2021-01-20 18:03:05 +01:00
20210113084256_add_experts_procedure_to_avis.rb add expert to avis table 2021-01-22 14:31:02 +01:00
20210113150013_add_data_to_champs.rb Add data column to champ 2021-01-14 17:31:37 +01:00
20210114224721_add_external_id_to_champs.rb Add external_id to champs 2021-01-15 11:50:02 +01:00
20210120121240_add_published_at_to_procedure_revisions.rb Add published_at to procedure_revisions 2021-06-03 13:11:16 +02:00
20210121134435_add_unique_index_to_experts_procedures.rb Add unique index to Experts Procedures on expert <> procedure ids 2021-01-22 14:31:02 +01:00
20210204180955_add_job_exception_logs.rb Add job exception logs to dossier and champ 2021-02-04 19:27:27 +01:00
20210307143807_add_claimant_type_to_avis.rb Revert "Revert "Claimant type to avis table"" 2021-03-10 08:48:55 +01:00
20210311141956_add_tmp_expert_migrated_to_avis.rb add tmp_expert_migrated to avis table 2021-03-18 11:38:53 +01:00
20210317094648_add_encrypted_api_particulier_token_to_procedures.rb a procedure has an encrypted api_particulier_token 2021-07-30 11:18:44 +02:00
20210318090000_add_service_name_to_active_storage_blobs.active_storage.rb db: fix ActiveStorage migration to Rails 6.1 2021-03-25 18:08:29 +01:00
20210318090001_create_active_storage_variant_records.active_storage.rb db: migrate ActiveStorage to Rails 6.1 2021-03-25 13:24:53 +01:00
20210330112235_add_not_null_service_name_to_active_storage_blobs.rb db: add last part of ActiveStorage::Blob migration 2021-03-30 12:54:13 +02:00
20210331123709_add_cache_key_to_exports.rb Simplify export unicity check and use create_or_find_by 2021-04-01 21:14:16 +01:00
20210331184808_add_revoked_at_to_experts_procedures.rb add revoked at to experts_procedures 2021-04-06 10:39:22 +02:00
20210402163003_exports_key_not_null.rb Make exports#key not-null 2021-04-02 17:42:24 +01:00
20210407174523_drop_unused_columns.rb Remove unused columns 2021-04-08 12:43:29 +01:00
20210409075105_remove_procedure_id_from_assign_tos.rb remove obsolete procedure_id column in assign_to table 2021-04-09 11:41:13 +02:00
20210409130604_add_bypass_email_login_token_column_to_instructeur.rb add bypass_email_login_token to instructeur 2021-04-13 09:43:38 +02:00
20210412092710_add_data_column_to_france_connect_informations.rb add data column to france_connect_infromations 2021-04-13 09:59:28 +02:00
20210416074049_add_experts_require_administrateur_invitation_to_procedures.rb Add boolean to procedures table 2021-04-19 10:23:45 +02:00
20210416160721_add_index_to_exercice_etablissement_id.rb Add missing etablissement_id index on exercices table (-600ms) 2021-04-22 14:12:50 +02:00
20210419100831_add_deleted_user_email_never_send_to_dossiers.rb Enable user destruction 2021-05-04 12:05:06 +02:00
20210422101149_add_expert_id_to_commentaires.rb Remove the link between commentaire and user 2021-04-22 15:10:47 +01:00
20210427112642_rename_content_type_to_to_time_span_type_for_archives.rb Revert "Revert "Export de tous les dossier d'une démarche"" 2021-04-29 17:29:47 +02:00
20210427120000_add_unique_index_to_invites.rb db: add uniqueness constraints 2021-04-27 15:36:22 +02:00
20210427120001_add_unique_index_to_procedures.rb db: add uniqueness constraints 2021-04-27 15:36:22 +02:00
20210427120002_add_unique_index_to_individuals.rb db: fix migration adding unique index to Individuals 2021-04-27 16:57:46 +02:00
20210427124500_add_key_to_archives.rb Revert "Revert "Export de tous les dossier d'une démarche"" 2021-04-29 17:29:47 +02:00
20210428104228_add_conservation_extension_to_dossiers.rb Rename en_construction_conservation_extension to conservation_extension 2021-05-11 14:08:51 +02:00
20210504115445_add_constraints_to_france_connect_informations.rb [fix #6084] add db constraints to france_connect_informations table 2021-05-05 14:28:20 +02:00
20210506135603_add_default_to_conservation_extension.rb Use conservation_extension instead of en_construction_conservation_extension 2021-05-11 17:33:53 +02:00
20210512175228_add_time_span_type_to_exports.rb Add last_month export 2021-06-23 09:23:10 +02:00
20210604095054_add_declarative_triggered_at_to_dossiers.rb Prevent double processing of declarative dossiers 2021-06-04 17:55:40 +02:00
20210630101808_add_parent_id_to_procedure_revision_type_de_champ.rb feat(procedure_revision_types_de_champ): add parent_id 2021-12-06 21:45:54 +01:00
20210721140812_create_dossier_transfers.rb feat(dossier): add dossier_transfers and dossier_transfer_logs 2021-09-08 14:39:45 +02:00
20210721162213_create_dossier_transfer_logs.rb feat(dossier): add dossier_transfers and dossier_transfer_logs 2021-09-08 14:39:45 +02:00
20210722083911_create_bulk_message_mails.rb create Bulk Message model and migration 2021-07-27 19:38:22 +02:00
20210722133440_add_unique_index_to_champs.rb db: add uniqueness constraints to Champs 2021-07-22 17:56:14 +02:00
20210722133531_add_unique_index_to_deleted_dossiers.rb db: add uniqueness constraints to DeletedDossiers 2021-07-22 17:57:11 +02:00
20210722133553_add_unique_index_to_etablissement.rb db: add uniqueness constraints to Etablissement 2021-07-22 18:00:34 +02:00
20210727172504_add_unique_index_to_bulk_messages_groupe_instructeurs.rb add unique index on bulk messages join table 2021-07-27 20:32:28 +02:00
20210818083349_add_process_expired_to_traitements.rb feat(dossiers): enable dossiers termine expiration behind feature flag 2021-08-18 16:11:35 +01:00
20210826161956_add_locale_to_users.rb feat(i18n): add locale to user 2021-09-07 09:47:01 +02:00
20210908162000_add_api_particulier_scopes_to_procedure.rb add api particulier scopes to procedure 2021-09-16 09:30:11 +02:00
20210908170019_add_api_particulier_sources_to_procedure.rb add api particulier sources to procedure 2021-09-17 13:50:23 +02:00
20210915083823_add_routing_enabled_to_procedures.rb feat(routage): add routing_enabled to procedures 2021-09-18 11:22:35 +02:00
20210923083416_add_instructeurs_self_management_enabled_to_procedures.rb feat(routing): add instructeurs_self_management_enabled to procedures 2021-09-27 15:06:17 +02:00
20211001143403_add_identity_updated_at_to_dossier.rb add identity_updated_at column to dossier 2021-10-05 12:05:43 +02:00
20211005133027_add_value_json_column_to_champ.rb add champ value_json jsonb column 2021-10-12 14:27:20 +02:00
20211006164955_add_manager_to_administrateurs_procedures.rb feat(manager): add become administrateur button in manager (with 24h expiration) 2021-10-07 11:32:12 +02:00
20211011083203_remove_user_id_not_null_constraint_to_france_connect_information.rb allow unattached fci 2021-10-14 14:47:50 +02:00
20211011102957_add_token_columns_to_france_connect_information.rb Add merge token to FCI 2021-10-14 14:47:50 +02:00
20211012100819_add_foreign_key_to_avis_dossier_id.rb fix(avis): add foreign key to avis dossier_id 2021-10-13 09:28:11 +02:00
20211013131241_add_rebased_at_to_champs.rb feat(revisions): add rebased_at to champs 2021-10-20 17:26:09 +02:00
20211020104237_add_champs_etablissement_id_index.rb fix(export): add index on champs.etablissement_id 2021-10-20 16:51:41 +02:00
20211026082232_add_requested_merge_into_column_to_users.rb add requested_merge_into column in user table 2021-11-04 16:10:09 +01:00
20211026131800_create_merge_logs.rb Add merge log 2021-10-28 14:39:13 +02:00
20211104102349_add_lock_version_to_active_storage_blobs.rb add lock version to blobs 2021-11-04 17:42:43 +01:00
20211110095853_add_hide_by_user_at_on_dossiers.rb add hidden by user column on dossiers 2021-11-26 09:45:13 +01:00
20211115112933_add_discarded_at_to_commentaires.rb refactor(Commentarie.soft_delete): use discard 2021-11-16 14:28:38 +01:00
20211119112046_add_agent_connect_sub_column_to_instructeurs_table.rb add agent_connect_id to instructeur 2021-11-23 14:17:59 +01:00
20211124111429_add_depose_at_to_dossiers.rb feat(traitements): add depose_at to dossiers 2021-11-25 12:57:55 +03:00
20211124134220_add_migrated_parent_to_types_de_champ.rb task(type_de_champ): migrate type_de_champ parent_id 2021-12-06 21:45:54 +01:00
20211126080118_add_index_to_deleted_at_to_deleted_dossiers.rb feat(stats#index): update Stat model to also query DossierDeleted in stats computation 2021-11-26 13:29:40 +01:00
20211126150915_dropfeedbackstable.rb Drop unused feedbacks table 2021-11-26 16:20:24 +01:00
20211126152402_move_process_expire_to_procedures.rb refactor(traitement.process_expired): move process expired to procedure 2021-12-03 16:32:36 +01:00
20211127133549_create_zones.rb add db constraints for ministere 2021-12-02 19:24:26 +01:00
20211127143736_add_zone_to_procedures.rb add belongs_to zone for procedure 2021-12-02 19:23:05 +01:00
20211201135804_add_expirants_to_procedure_presentations.rb fix(spec/lint/review): lint and fix spec of previous commits, also fix based on tchak feedback 2021-12-06 07:05:17 +01:00
20211202133139_add_hidden_by_administration_to_dossiers.rb add hidden_by_instructeur_at on dossiers 2021-12-29 17:37:57 +01:00
20211214145059_add_attestation_template_id_to_procedure_revisions.rb Revert "Revert "feat(attestation): revise attestations"" 2022-02-08 16:22:59 +01:00
20220127135056_add_supprimes_recemment_to_procedure_presentations.rb add supprimes_recemment to procedure presentation 2022-01-27 17:00:41 +01:00
20220204093401_add_hidden_by_reason_to_dossiers.rb add hidden by reason to dossiers 2022-02-09 14:43:36 +01:00
20220204130722_create_dossier_submitted_messages.rb fix(relation): avoid double association between procedure/procedure_revision/dossier_submitted_message 2022-02-25 14:01:18 +01:00
20220222150340_set_default_procedure_expires_when_termine_enabled_to_true.rb feat(procedure.procedure_expires_when_termine_enabled): enable by default, allow contributor to choose the default settings of this flag using an env var during migration. ie: DEFAULT_PROCEDURE_EXPIRES_WHEN_TERMINE_ENABLED=true|false 2022-05-05 13:07:11 +02:00
20220301160753_add_administrateur_foreign_key_to_administrateurs_procedure.rb fix(migrate): lien administrateurs_procedures - administrateurs 2022-04-25 14:20:57 +02:00
20220302101337_add_foreign_keys_to_administrateurs_instructeurs.rb db: backport delete_orphans in recent migrations 2022-03-08 14:48:17 +01:00
20220308110720_add_procedure_foreign_key_to_administrateurs_procedure.rb db: add foreign key contraint to AdministrateursProcedure 2022-03-08 14:48:17 +01:00
20220315102928_add_data_to_dossier_operation_logs.rb feat(dossier): add data to DossierOperationLog 2022-11-22 18:06:05 +01:00
20220315113510_add_foreign_keys_to_user_related_models.rb db: add foreign keys to Administrateur, Instructeur and Expert 2022-03-15 15:15:51 +01:00
20220315124100_add_preview_to_dossiers.rb feat(dossier): add preview flag 2022-04-28 11:52:38 +02:00
20220322110900_add_not_null_constraints_to_administrateurs_instructeur.rb db: add not-null constraints to AdministrateursInstructeur 2022-03-22 13:32:02 +01:00
20220323064705_add_not_null_constraints_to_role_tables.rb db: add constraints to role tables 2022-03-29 14:52:38 +02:00
20220323113048_add_foreign_keys_to_role_tables.rb db: add constraints to role tables 2022-03-29 14:52:38 +02:00
20220323113152_validate_foreign_keys_to_role_tables.rb db: add constraints to role tables 2022-03-29 14:52:38 +02:00
20220323113327_add_index_to_role_tables.rb db: add constraints to role tables 2022-03-29 14:52:38 +02:00
20220323120846_remove_role_columns_on_user.rb db: remove deprecated role columns on user 2022-03-29 14:52:38 +02:00
20220323143325_add_procedure_presentation_and_state_to_exports.rb fix(migration): apply what strong migration recommends 2022-04-07 10:25:05 +02:00
20220405100354_add_uniq_index_on_attestation_dossier_id.rb add uniq index on attestation dossier_id 2022-04-05 15:43:21 +02:00
20220405163206_add_procedure_presentation_snapshot_to_exports.rb feat(procedure_presentation): pass filters as serialized snapshot 2022-04-06 17:08:38 +02:00
20220406144202_remove_column_instructeur_id_from_dossier_operation_log.rb fix(user.merge): when merging old_user having an instructeur with dossier_operation_logs containing the old_user.instructeur_id, should be able to merge to new instructeur 2022-05-04 14:24:11 +02:00
20220407081538_backfill_export_status.rb fix(migration): apply what strong migration recommends 2022-04-07 10:25:05 +02:00
20220425140107_add_lien_dpo_to_procedure.rb feat(administrateur/procedure#create): allow admin to add a lien to the DPO, allow user to consult link to dpo. enhance spec on _procedure_footer.html 2022-04-27 15:09:02 +02:00
20220520134041_enable_pgcrypto.rb feat(targeted_user_link): add targeted user link to wrap expert invitation in order to avoid access issue when the expert is connected with another account 2022-05-31 14:50:31 +02:00
20220520134042_create_targeted_user_links.rb feat(targeted_user_link): add targeted user link to wrap expert invitation in order to avoid access issue when the expert is connected with another account 2022-05-31 14:50:31 +02:00
20220520173939_add_replacement_procedure_id_to_procedures.rb migration 2022-05-26 12:45:05 +02:00
20220531100040_add_condition_column_to_type_de_champ.rb tdc can have condition 2022-06-17 14:53:28 +02:00
20220613130322_change_column_null_for_targeted_user_links.rb feat(invite): wrap invitation with targeted_user_links 2022-06-17 16:44:37 +02:00
20220617142759_add_target_model_id_index_to_targeted_user_links.rb feat(invite): wrap invitation with targeted_user_links 2022-06-17 16:44:37 +02:00
20220620132646_add_column_closed_to_groupe_instructeurs.rb fix(AddColumnClosedToGroupeInstructeurs): add column with change_column_default 2022-06-21 16:15:28 +02:00
20220620141238_add_index_on_procedure_id_and_closed_to_groupe_instructeurs.rb feat(GroupeInstructeurs.closed): add closed option to GroupeInstructeur in order to prevent usagers to submit dossier 2022-06-20 16:32:06 +02:00
20220621160241_backfill_add_column_closed_to_groupe_instructeurs.rb fix(data): ensure to populate closed column in after_party migration 2022-06-21 18:46:13 +02:00
20220622181047_add_opendata_to_procedures.rb add opendata boolean attribute for procedure 2022-06-23 14:11:09 +02:00
20220622183305_backfill_add_opendata_to_procedures.rb add opendata boolean attribute for procedure 2022-06-23 14:11:09 +02:00
20220707152632_cleanup_export_and_archive.rb fix(export): when it takes more than 3 hours, exports are purge before being generated. make it possible to have an export that takes more than 3 hours and share this behaviour with kind of same class archive 2022-07-25 10:48:54 +02:00
20220708151654_drop_duree_conservation_dossiers_hors_ds.rb feat(procedure.duree_conservation_dossiers_dans_ds): decrease max duree_conservation_dossiers_dans_ds from 36 to 12 2022-07-18 14:08:53 +02:00
20220708151802_add_column_duree_conservation_entendue_par_ds.rb feat(procedure.duree_conservation_dossiers_dans_ds): decrease max duree_conservation_dossiers_dans_ds from 36 to 12 2022-07-18 14:08:53 +02:00
20220708151917_backfill_duree_conservation_entendue_par_ds.rb feat(procedure.duree_conservation_dossiers_dans_ds): decrease max duree_conservation_dossiers_dans_ds from 36 to 12 2022-07-18 14:08:53 +02:00
20220708152039_new_default_duree_conservation_entendue_par_ds.rb feat(procedure.duree_conservation_dossiers_dans_ds): decrease max duree_conservation_dossiers_dans_ds from 36 to 12 2022-07-18 14:08:53 +02:00
20220712141913_add_manager_to_assign_tos.rb feat(Administrateur::ArchivesController#*): prevent SuperAdmin to index/download archives 2022-08-23 13:28:10 +02:00
20220712141945_backfill_assign_tos_manager.rb feat(assign_tos): add manager column to assign_tos table. Same idea as administrateur_procedures.manager which flag a link between procedure/administrateur coming from a SuperAdmin [target: able to avoid SuperAdmin sec issues] 2022-08-23 13:28:10 +02:00
20220718093034_add_entreprise_etat_administratif_to_etablissements.rb chore(schema): add entreprise_etat_administratif to etablissements 2022-07-25 10:58:02 +02:00
20220718134835_add_siret_to_services.rb chore(schema): +services#siret 2022-09-06 09:23:52 +02:00
20220725070026_cleanup_assign_tos_from_betagouv.rb feat(clean.super_admin.assign_tos): remove former assign to so our support team is happy :-) 2022-08-23 14:39:40 +02:00
20220725090224_add_etablissement_infos_to_services.rb chore(schema): safer migration for add_etablissment_infos_to_services 2022-09-06 09:23:52 +02:00
20220725090225_backfill_add_etablissement_infos_to_services.rb chore(schema): safer migration for add_etablissment_infos_to_services 2022-09-06 09:23:52 +02:00
20220726151017_add_job_status_to_exports.rb chore(schema): add exports#job_status 2022-07-26 17:53:24 +02:00
20220728084804_remove_ignored_columns.rb fix(db): types_de_champ migration is too long 2022-08-03 14:22:34 +02:00
20220824114151_readd_super_admin_to_their_procedure_without_instructeur.rb feat(super-admin): re-add to procedure without any instructeur 2022-08-24 14:37:27 +02:00
20220830125703_add_avis_email_notification.rb fix(migration): fix avis email notification migration 2022-09-02 17:23:04 +02:00
20220902151143_backfill_add_avis_email_notification.rb fix(migration): fix avis email notification migration 2022-09-02 17:23:04 +02:00
20220902151920_validate_backfill_add_avis_email_notification.rb fix(migration): fix avis email notification migration 2022-09-02 17:23:04 +02:00
20220911134914_create_zone_labels.rb add zone_label migration 2022-09-26 16:58:53 +02:00
20221005090004_add_index_on_dossier_id_to_invites.rb perf: add index on invite dossier_id 2022-10-06 17:17:27 +02:00
20221005145531_max_column_duree_conservation_dossiers_dans_ds_to_procedure.rb feat(procedure.max_duree_conservation_dossiers_dans_ds): make it more flexible 2022-10-05 17:27:09 +02:00
20221005145646_backfill_procedure_max_duree_conservation_dossiers_dans_ds.rb feat(procedure.max_duree_conservation_dossiers_dans_ds): make it more flexible 2022-10-05 17:27:09 +02:00
20221006074425_add_tags_to_procedures.rb fix(migration): ignore strong migration for small nb of procedure 2022-10-27 09:39:41 +02:00
20221006134215_add_index_on_type_to_champs.rb chore(db): add index on type to champs 2022-10-11 10:43:32 +02:00
20221006161143_re_backfill_procedure_max_duree_conservation_dossiers.rb fix(migration): backfill procedure nil duree_conservation_etendue_par_ds 2023-01-11 11:00:43 +01:00
20221006190110_create_procedures_and_zones.rb add habtm between procedures and zones 2022-10-07 10:48:34 +02:00
20221006193737_backfill_procedures_zones.rb backfill procedures_zones 2022-10-07 10:48:34 +02:00
20221007134731_fix_clean_migrate_type_de_champs_engagement.rb fix(data): move type de champs engagement to checkbox 2022-10-07 18:30:56 +02:00
20221013142432_clean_pending_user_with_requested_merge_into_id_similar_to_their_id.rb correctif(fusion de compte): recupération sur les comptes usagers ayant initié la fusion de leurs compte sur lui même [ce qui detruit la donnée] 2022-10-13 17:00:20 +02:00
20221020094031_add_foreign_key_to_commentaires_instructeur_id.rb fix(message): add instructeurs foreign key 2022-10-20 14:42:42 +02:00
20221104071959_add_team_account_to_users.rb amelioration(bdd): mise en place d'un flag pour identifier les anciens comptes d'admin de DS 2022-11-08 09:55:21 +01:00
20221107163131_add_parent_dossier_id_to_dossier.rb amelioration(dossier.clone): dossier.clone, permet de cloner un dossier 2022-11-14 09:13:52 +01:00
20221107170011_add_piece_justificative_multiple_on_procedures.rb chore(schema): +procedures#piece_justificative_multiple 2022-12-05 10:47:10 +01:00
20221110100622_add_foreign_key_to_parent_dossier_id.rb remaniement(dossier.clone): simplifications, pas de callback/after, pas d'heritage, mm interface pour cloner les champs public/prive, clonage des PJs avec le nouveau service de clone, ajoute une cle etrangere sur la colonne parent_dossier_id 2022-11-14 09:53:19 +01:00
20221110100759_validate_foreign_key_to_parent_dossier_id.rb remaniement(dossier.clone): simplifications, pas de callback/after, pas d'heritage, mm interface pour cloner les champs public/prive, clonage des PJs avec le nouveau service de clone, ajoute une cle etrangere sur la colonne parent_dossier_id 2022-11-14 09:53:19 +01:00
20221118133711_create_table_batch_operation.rb poc(batch_operation): just the model and some specs and a poc for archive them without async 2022-12-06 11:28:48 +01:00
20221118134105_add_batch_operation_id_to_dossiers.rb poc(batch_operation): just the model and some specs and a poc for archive them without async 2022-12-06 11:28:48 +01:00
20221118134156_add_foreign_key_to_batch_operation_id.rb poc(batch_operation): just the model and some specs and a poc for archive them without async 2022-12-06 11:28:48 +01:00
20221118134231_validate_foreigh_key_to_batch_operation_id.rb poc(batch_operation): just the model and some specs and a poc for archive them without async 2022-12-06 11:28:48 +01:00
20221119050905_add_foreign_key_to_batch_operation_instructeur.rb poc(batch_operation): just the model and some specs and a poc for archive them without async 2022-12-06 11:28:48 +01:00
20221119050928_add_validate_key_to_batch_boperation_instructeur.rb poc(batch_operation): just the model and some specs and a poc for archive them without async 2022-12-06 11:28:48 +01:00
20221122123721_add_index_to_dossiers_batch_operation_id.rb poc(batch_operation): just the model and some specs and a poc for archive them without async 2022-12-06 11:28:48 +01:00
20221122123809_add_libelle_index_to_procedures.rb add libelle index on procedures 2022-11-22 17:08:17 +01:00
20221122145030_clean_duree_conservation.rb fix(procedure): add not null constraint on duree_conservation 2022-11-23 18:04:49 +01:00
20221129104327_create_api_tokens.rb feat(api_token): add api_tokens table 2022-12-07 18:19:37 +01:00
20221130113745_add_archived_at_and_archived_by_to_dossiers.rb feat(dossier): add some metadata to archive and remove operation log 2022-11-30 16:20:13 +01:00
20221201091240_create_batch_operation_groupe_instructeur_join_table.rb poc(batch_operation): habtm groupe instructeurs, permettra de visualiser plus facilement les batch en cours pour les instructeurs du meme groupe 2022-12-06 11:28:48 +01:00
20221201091658_add_seen_at_to_batch_operations.rb poc(batch_operation): habtm groupe instructeurs, permettra de visualiser plus facilement les batch en cours pour les instructeurs du meme groupe 2022-12-06 11:28:48 +01:00
20221201103802_add_prefilled_to_champs.rb review: prefilled has no default value 2022-12-08 15:27:39 +01:00
20221213084333_add_prefill_fields_to_dossiers.rb feat(demarche): create and prefill a dossier with POST request (#8233) 2023-01-03 14:46:10 +01:00
20221213084442_add_prefill_token_index_to_dossiers.rb feat(demarche): create and prefill a dossier with POST request (#8233) 2023-01-03 14:46:10 +01:00
20221215131001_add_row_id_to_champs.rb refactor(repetition): add row_id to champs 2023-01-05 18:04:54 +01:00
20221215131122_add_row_id_index_to_champs.rb refactor(repetition): add row_id to champs 2023-01-05 18:04:54 +01:00
20221222163907_add_watermarked_at_active_storage_blobs.rb refactor(watermark): use column instead of metadata on blob 2023-01-04 12:07:08 +01:00
20221222170319_add_virus_scanned_at_active_storage_blobs.rb refactor(virus_scan_result): use column instead of metadata on blob 2023-01-04 12:12:11 +01:00
20221222204553_create_dossier_batch_operations.rb use join table instead of arrays 2023-01-05 16:20:18 +01:00
20221226221025_add_virus_scan_result_index.rb chore(blobs): add virus_scan_result index 2023-01-04 12:12:11 +01:00
20230109140138_create_email_events.rb chore(schema): create email_events 2023-01-10 16:07:35 +01:00
20230110153638_create_safe_mailers.rb data(safe_mailer): ajout d'un object permetant d'orienter les mails vers un unique fournisseur au cas ou l'autre soit down 2023-01-11 17:13:05 +01:00
20230110181415_remove_champs_row_index.rb refactor(repetition): use row_id instead of row 2023-01-10 19:31:41 +01:00
20230110181426_add_champs_row_id_index.rb refactor(repetition): use row_id instead of row 2023-01-10 19:31:41 +01:00
20230111094621_add_migrated_champ_routage_to_dossiers.rb remove default value as it can cause lock and does not add value 2023-01-11 11:18:21 +01:00
20230113165022_add_editing_forks_to_dossiers.rb feat(dossier): dossier can be forked for editing 2023-05-09 15:34:10 +02:00
20230117094309_remove_row_from_champs.rb chore(db): remove unused columns 2023-01-17 12:49:22 +01:00
20230117094317_remove_encrypted_token_and_active_from_administrateurs.rb chore(db): remove unused columns 2023-01-17 12:49:22 +01:00
20230126145329_add_reminded_at_to_avis.rb feat(avis): add reminded_at field to avis 2023-01-30 11:13:23 +01:00
20230131172119_add_estimated_duration_visible_to_procedures.rb chore(schema): +procedure#estimated_duration_visible 2023-02-01 11:02:55 +01:00
20230203134127_add_message_id_to_email_event.rb amelioration(dolist_api): forward le message_id afin de faciliter les investigations 2023-02-03 17:19:36 +01:00
20230207105539_add_external_id_index_to_champs.rb review: make use of migration helper 2023-02-07 14:34:52 +01:00
20230213123229_add_read_only_and_procedure_ids_to_api_tokens.rb feat(api_token): add allowed_procedure_ids to api tokens 2023-03-15 19:09:49 +01:00
20230216041517_remove_champs_external_id_index.rb chore(db): supprime un index non utilisé 2023-02-20 11:47:14 +01:00
20230216130722_fix_active_storage_attachment_missing_fk_on_blob_id.rb correctif(data): ajoute la clé etrangère entre active_storage_attachements et active_storage_blobs uniquement si elle est manquante 2023-03-02 08:34:17 +01:00
20230216141558_validate_foreign_key_between_attachments_and_blobs.rb correctif(db): force active_storage_attachments.blob fk on active_storage_blobs 2023-02-16 16:02:14 +01:00
20230217094119_add_estimated_dossiers_count_and_dossiers_count_computed_at_to_procedures.rb cache dossiers count 2023-02-21 10:06:07 +01:00
20230228073530_add_routing_column_to_groupe_instructeur.rb feat(db): add routing column to groupe_instructeurs 2023-03-30 10:51:20 +02:00
20230228134859_create_dossier_corrections.rb fix(schema): dossier_corrections foreign keys in separate migration 2023-06-05 12:42:06 +02:00
20230228134900_add_foreign_keys_to_dossier_corrections.rb fix(schema): dossier_corrections foreign keys in separate migration 2023-06-05 12:42:06 +02:00
20230303094613_add_question_columns_to_avis.rb first step to add question in experts avis 2023-03-16 11:32:05 +01:00
20230322150907_add_allow_expert_messaging_to_procedures.rb migration 2023-03-27 13:38:22 +02:00
20230328125207_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb chore: update and default initializer for Rails 7 2023-05-03 11:35:29 +02:00
20230331075755_drop_table_drop_down_lists.rb fix(schema): drop drop_down_lists migration not reversible 2023-06-02 16:16:15 +02:00
20230331124617_add_defaut_groupe_instructeur_id_to_procedures.rb feat(db): add defaut_groupe_instructeur_id column to procedures 2023-04-13 10:36:42 +02:00
20230331125409_add_defaut_groupe_instructeur_foreign_key_to_procedures.rb feat(db): add defaut_groupe_instructeur_id column to procedures 2023-04-13 10:36:42 +02:00
20230331125931_validate_add_defaut_groupe_instructeur_foreign_key_to_procedures.rb feat(db): add defaut_groupe_instructeur_id column to procedures 2023-04-13 10:36:42 +02:00
20230502160046_add_otp_secret_to_super_admin.rb chore(super-admin): update devise-two-factor v5 with otp_secret encrypted attribute 2023-05-03 11:35:32 +02:00
20230508103932_add_tchap_hs_to_zones.rb add tchap hs to zone 2023-05-16 09:40:53 +02:00
20230508160551_create_default_zones_administrateurs.rb create default_zones_administrateurs 2023-05-16 09:40:53 +02:00
20230516132925_add_description_target_audience_to_procedure.rb rollback - add just one new field and use actual description field 2023-05-24 11:31:24 +02:00
20230517085816_add_forced_groupe_instructeur_to_dossier.rb migration : add forced_group_instructeur_to_dossier 2023-06-15 14:14:47 +02:00
20230525130349_add_sva_svr_to_procedures.rb chore(schema): +procedures#sva_svr 2023-07-11 10:01:45 +02:00
20230601080235_add_sva_svr_decision_on_to_dossiers.rb chore(schema): +dossiers#sva_svr_decision_on, sva_svr_decision_triggered_at 2023-07-11 10:01:46 +02:00
20230614093944_add_kind_to_dossier_corrections.rb chore(schema): +dossier_corrections#kind 2023-07-11 10:01:48 +02:00
20230621161733_add_pj_field_for_description_to_procedure.rb add possibility to override generated pj list by admin 2023-06-22 09:50:38 +02:00
20230623160831_add_index_to_parent_dossier_id.rb amelioration(dossier.indexes): lors de sa suppression, un dossier nullifie les autre parent_dossier_id ayant son id. ça fait que la suppression des dossiers [ds le cas des expires] est LENT [3s pr executer la requete de nullification en dev] 2023-06-26 15:51:26 +02:00
20230629102031_add_lien_notice_and_dpo_errors_to_procedures.rb feat(procedure): add lien_notice_error and lien_dpo_error 2023-07-06 10:27:43 +02:00
20230630091637_create_dossier_assignments.rb feat(DossierAsignment): create model 2023-07-18 16:54:00 +02:00
20230704093503_enable_postgis.rb fix(postgis): do not try to create postgis extension if it is already created or it is disabled 2023-07-18 18:01:29 +02:00
20230712095037_add_reason_to_dossier_corrections.rb refactor(correction): rename kind => reason with default correction => incorrect 2023-07-21 16:45:47 +02:00
20230713163641_remove_dossier_corrections_kind.rb chore(schema): remove dossier_corrections#kind, replaced in 5998cf 2023-07-27 16:31:48 +02:00
20230718113720_add_blocked_at_block_reasonto_user.rb feat(user): add blocket_at and block_reason columns 2023-07-18 13:46:27 +02:00
20230720103932_add_hidden_at_as_template_to_procedure.rb feat(procedure): hide as template 2023-09-19 11:21:27 +00:00
20230801102740_add_last_authenticated_at_to_api_tokens.rb feat(api): add last_authenticated_at timestamp to api requests 2023-08-02 13:22:18 +02:00
20230801121131_remove_migrated_champ_routage_columns.rb db(routing): remove migrated champ routage columns 2023-08-01 16:59:22 +02:00
20230802161011_remove_routing_criteria_name_column.rb db(routing): remove routing criteria name column 2023-08-02 18:25:37 +02:00
20230809151357_create_contact_informations.rb add contact information model 2023-09-08 11:04:06 +02:00
20230813091937_create_gestionnaires.rb feat: rename admins_group_manager to gestionnaire 2023-10-03 13:51:57 +02:00
20230813091938_create_groupe_gestionnaires.rb feat: rename admins_group_manager to gestionnaire 2023-10-03 13:51:57 +02:00
20230813091946_add_groupe_gestionnaire_to_administrateurs.rb chore(schema): fixup failed migrations, ensure exports->instructeurs foreign key exists 2023-10-10 11:00:27 +02:00
20230813091947_add_foreign_key_groupe_gestionnaire_to_administrateurs.rb feat: rename admins_group_manager to gestionnaire 2023-10-03 13:51:57 +02:00
20230813091948_validate_foreign_key_groupe_gestionnaire_to_administrateurs.rb feat: rename admins_group_manager to gestionnaire 2023-10-03 13:51:57 +02:00
20230828131618_add_chorus_column_to_procedure.rb tech(model.procedure): ajoute une a la table procedures la colonne chorus (jsonb) 2023-10-19 07:14:27 +02:00
20230912155425_create_release_notes.rb feat(announce): super admin can create announce 2023-11-08 18:22:11 +01:00
20230928083809_remove_exports_unicity_constraint.rb chore(schema): remove exports unicity constraint 2023-09-28 15:23:28 +02:00
20230929091948_add_ancestry_to_groupe_gestionnaires.rb fix(migration): mismatch rails version definition 2023-11-20 11:22:28 +01:00
20231009070354_add_dossiers_count_to_exports.rb chore(schema): fixup failed migrations, ensure exports->instructeurs foreign key exists 2023-10-10 11:00:27 +02:00
20231009143331_add_reference_to_exports_instructeur.rb chore(schema): fixup failed migrations, ensure exports->instructeurs foreign key exists 2023-10-10 11:00:27 +02:00
20231010083144_add_instructeur_foreign_key_to_exports.rb fix(schema): add missing index exports#instructeur_id 2023-11-20 11:22:28 +01:00
20231010093014_create_maintenance_tasks_runs.maintenance_tasks.rb use maintenance tasks gem 2023-10-10 15:11:08 +02:00
20231010093017_add_arguments_to_maintenance_tasks_runs.maintenance_tasks.rb use maintenance tasks gem 2023-10-10 15:11:08 +02:00
20231010093018_add_lock_version_to_maintenance_tasks_runs.maintenance_tasks.rb use maintenance tasks gem 2023-10-10 15:11:08 +02:00
20231010093021_add_metadata_to_runs.maintenance_tasks.rb use maintenance tasks gem 2023-10-10 15:11:08 +02:00
20231017092437_add_browser_to_traitements.rb feat(traitement): add browser information 2023-11-08 00:09:38 +01:00
20231017162057_add_announces_seen_at_to_users.rb chore(schema): add announces_seen_at to users 2023-11-08 18:23:14 +01:00
20231025161609_add_departement_to_services.rb add departement_to_services migration 2023-10-25 18:41:03 +02:00
20231103084116_add_expired_notification_sent_at_to_users.rb tech(users.inactive_close_to_expiration_notice_sent_at): ajoute une colonne pour suivre la date de notification avant suppression du compte usager inactif 2023-11-17 11:33:14 +01:00
20231107130640_add_re_instructed_at_to_dossiers.rb Migration : re_instructed_at à Dossier et ajoute le re_instructed_mails 2023-11-10 08:46:13 +00:00
20231107150217_create_re_instructed_mails.rb Migration : re_instructed_at à Dossier et ajoute le re_instructed_mails 2023-11-10 08:46:13 +00:00
20231108120254_add_missing_exports_instructeur_index.rb fix(schema): add missing index exports#instructeur_id 2023-11-20 11:22:28 +01:00
20231108120731_add_missing_administrateurs_groupe_gestionnaire_index.rb fix(schema): add missing index administrateurs#groupe_gestionnaire_id 2023-11-20 11:22:28 +01:00
20231109190504_add_index_to_userss_on_last_sign_in_at.rb amelioration(data): ajoute un index sur users.last_signed_in_at 2023-11-17 11:33:14 +01:00
20231110135532_alter_dossiers_for_procedure_preview_not_nullable.rb chore(schema): dossiers#for_procedure_preview not nullable 2023-11-10 15:41:30 +01:00
20231110135533_validate_alter_dossiers_for_procedure_preview_not_nullable.rb chore(schema): dossiers#for_procedure_preview not nullable 2023-11-10 15:41:30 +01:00
20231114113317_add_json_body_column_to_attestation_template.rb add json_body to attestation template 2023-11-15 10:35:16 +01:00
20231114140154_combine_dossier_and_individual_updates.rb Migration 2023-12-12 22:35:11 +00:00
20231127102633_add_from_support_to_dossier_transfers.rb add from_support column to dossier_transfer 2023-11-28 11:57:28 +01:00
20231128071043_add_from_support_to_dossier_transfer_logs.rb add from_support column to dossier_transfer_logs 2023-11-28 12:17:03 +01:00
20231221142727_add_last_used_ips_column_to_api_token.rb feature(api): add stored_ips column 2023-12-21 16:01:10 +01:00