app/migrations/versions
Adrià Casajús 665c01d710
Add lifetime in partner subscriptions (#2331)
* Add lifetime in partner subscriptions

* Add lifetime display

* Fixed change
2024-11-27 11:05:03 +00:00
..
0a89c670fc7a_.py
0b28518684ae_.py
0c7f1a48aac9_.py
1b7d161d1012_.py
2d2fc3e826af_.py
2e2b53afd819_.py
2fe19381f386_.py
3a87573bf8a8_.py
3cd10cfce8c3_.py
3ebfbaeb76c0_.py
4a640c170d02_.py
4fac8c8a704c_.py
5e549314e1e2_.py Update pre-commit (#1138) 2022-07-04 16:01:04 +02:00
5e868298fee7_.py
5fa68bafae72_.py
6bbda4685999_.py
9e1b06b9df13_.py
18e934d58f55_.py
83f4dbe125c4_.py
213fcca48483_.py
507afb2632cc_.py
551c4e6d4a8b_.py
590d89f981c0_.py
2019_122910_696e17c13b8b_.py
2019_122910_e409f6214b2b_.py
2019_123000_a8b996f0be40_.py
2019_123018_01f808f15b2e_.py
2019_123018_10ad2dbaeccf_.py
2020_010120_d29cca963221_.py
2020_010821_ba6f13ccbabb_.py
2020_013010_7c39ba4ec38d_.py
2020_020313_9c976df9b9c4_.py
2020_020515_b9f849432543_.py
2020_021023_6664d75ce3d4_.py
2020_021122_3c9542fc54e9_.py
2020_022212_3fa3a648c8e7_.py
2020_022314_903ec5f566e8_.py
2020_022316_e3cb44b953f2_.py
2020_022316_f580030d9beb_.py
2020_022722_75093e7ded27_.py
2020_022819_5f191273d067_.py
2020_022900_7eef64ffb398_.py
2020_030521_235355381f53_.py
2020_030813_628a5438295c_.py
2020_031416_11a35b448f83_.py
2020_031510_9081f1a90939_.py
2020_031621_91b69dfad2f1_.py
2020_031709_7744c5c16159_.py
2020_031711_6e061eb84167_.py
2020_031711_0809266d08ca_.py
2020_031711_14167121af69_.py
2020_031711_e9395fe234a4_.py
2020_032009_f4b8232fa17e_.py
2020_032010_dbd80d290f04_.py
2020_032012_4e4a759ac4b5_.py
2020_032012_30c13ca016e4_.py
2020_032216_541ce53ab6e9_.py
2020_032223_67c61eead8d2_.py
2020_032822_224fd8963462_.py
2020_033017_92baf66b268b_.py
2020_040512_497cfd2a02e2_.py
2020_040922_ea30c0b5b2e3_.py
2020_041313_bfd7b2302903_.py
2020_041320_57ef03f3ac34_.py
2020_041911_dd911f880b75_.py
2020_041923_bd05eac83f5f_.py
2020_042610_b4146f7d5277_.py
2020_050218_f939d67374e4_.py
2020_050312_de1b457472e0_.py
2020_050315_ae94fe5c4e9f_.py
2020_050717_026e7a782ed6_.py
2020_050721_925b93d92809_.py
2020_050914_bdf76f4b65a2_.py
2020_050918_a3a7c518ea70_.py
2020_050920_a5e3c6693dc6_.py
2020_051016_bf11ab2f0a7a_.py
2020_051018_1759f73274ee_.py
2020_051515_5cad8fa84386_.py
2020_051516_552d735a2f1f_.py
2020_051710_c31cdf879ee3_.py
2020_051712_659d979b64ce_.py
2020_051719_ce15cf3467b4_.py
2020_052312_0e08145f0499_.py
2020_052319_00532ac6d4bc_.py
2020_052419_10a7947fda6b_.py
2020_052419_f680032cc361_.py
2020_052700_4a7d35941602_.py
2020_052714_cfc013b6461a_.py
2020_052820_b2d51e4d94c8_.py
2020_060523_749c2b85d20f_.py
2020_060700_a5b4dc311a89_.py
2020_062513_a3c9a43e41f4_.py
2020_062811_7128f87af701_.py
2020_070423_270d598c51e3_.py
2020_072311_b77ab8c47cc7_.py
2020_080112_a2b95b04d1f7_.py
2020_081419_63fd3b240583_.py
2020_081611_95938a93ea14_.py
2020_082614_b82bcad9accf_.py
2020_091020_84471852b610_.py
2020_091211_b0e9a389939a_.py
2020_091417_198c3aca9d8d_.py
2020_092817_58ad4df8583e_.py
2020_100412_1abfc9e14d7e_.py
2020_101120_32b00d06d892_.py
2020_101213_b17afc77ba83_.py
2020_101516_54ca2dbf89c0_.py
2020_102016_eef0c404b531_.py
2020_102119_84dec6c29c48_.py
2020_110712_d0f197979bd9_.py
2020_111415_9dc16e591f88_.py
2020_111518_ac41029fb329_.py
2020_112411_d1edb3cadec8_.py
2020_112416_623662ea0e7e_.py
2020_120217_56c790ec8ab4_.py
2020_120619_c0d91ff18f77_.py
2020_120710_780a8344914b_.py
2020_121319_0af2c2e286a7_.py
2020_121319_a20aeb9b0eac_.py
2020_121916_1919f1859215_.py
2020_123114_7c0dbd378cdb_.py
2020_123114_f66ca777f409_.py
2021_010414_e99989e6ad56_.py
2021_011110_1b54995bc086_.py
2021_012518_2779eb90c6c4_.py
2021_012609_74906d31d994_.py
2021_012620_85d0655d42c0_.py
2021_021712_de7aa5280210_.py
2021_022415_e831a883153a_.py
2021_030617_d1236c4dff71_.py
2021_030618_94f14eb0fe5b_.py
2021_032310_9d6adad83936_.py
2021_032310_f398b261d9c6_.py
2021_040110_517b79c56088_.py
2021_040112_48b991e9de06_.py
2021_040112_4912f3bd5ba2_.py
2021_040112_e11c3dd48a6f_.py
2021_040619_f5133dc851ee_.py
2021_051013_5c77d685df87_.py
2021_051721_6cc7f073b358_.py
2021_052518_68e2f38e33f4_.py
2021_052819_fc2eb1d7e4fc_.py
2021_060218_a5e643d562c9_.py
2021_062217_29ea13ed76f9_.py
2021_062717_8e70205a5308_.py
2021_071112_f3f19998b755_.py
2021_071219_c31a081eab74_.py
2021_071310_78403c7b8089_.py
2021_072210_5662122eac21_.py
2021_072818_20c738810b1b_.py
2021_072818_dfee471558bd_.py
2021_072908_05e3af59929a_.py
2021_072909_c3470e2d3224_.py
2021_080211_ffa75d04e6ef_.py
2021_080409_9014cca7097c_.py Update pre-commit (#1138) 2022-07-04 16:01:04 +02:00
2021_081718_d4392342465f_.py
2021_082012_424808e1fe49_.py
2021_090715_916a5257d18c_.py
2021_091018_4d3f91ddf3e9_.py
2021_091716_d8c55e79da54_.py
2021_092018_7a105bfc0cd0_.py
2021_092018_cf1e8c1bc737_.py
2021_092111_b8b4f9598240_.py
2021_092111_bc75acacc98e_.py
2021_092712_5ee767807344_.py
2021_100416_4913cb3f5a05_.py
2021_100417_0b1c9ea11aef_.py
2021_101111_2fbcad5527d7_.py
2021_101415_d750d578b068_.py
2021_101510_2f1b3c759773_.py
2021_101817_99d9e329b27f_.py
2021_102317_a06066e3fbeb_.py
2021_102611_d67eab226ecd_.py
2021_102612_bbedc353f90c_.py
2021_102715_0b9150eb309d_.py
2021_102810_6204e57b4bc4_.py
2021_110118_37feaba7c45d_.py
2021_110215_ff6c04869029_.py
2021_110510_fdb02bd105a8_.py
2021_110511_dd278f96ca83_.py
2021_110612_1076b5795b08_.py
2021_111209_5639ad89ee50_.py
2021_111511_11ba83e2dd71_.py
2021_111711_ccbfb61eda0d_.py
2021_111716_a5013ff0a00a_.py
2021_111717_9031c9e28510_.py
2021_111717_e6e8e12f5a13_.py
2021_111810_b8fd175c084a_.py
2021_111810_e7d7ebcea26c_.py
2021_112212_d0ccd9d7ac0c_.py
2021_112618_4b483a762fed_.py
2021_120216_ad467baf7ec8_.py
2021_123016_d8a3dfe674f2_.py
2022_010310_3d05479d0d11_.py
2022_010414_753d2ed92d41_.py
2022_010710_698424c429e9_.py
2022_012415_07b870d7cc86_.py
2022_021812_9282e982bc05_.py Allow to configure ignore or reject response for blocked contacts 2022-02-21 12:52:21 +01:00
2022_022512_4729b7096d12_.py fix migration 2022-02-28 11:14:59 +01:00
2022_022617_5047fcbd57c7_.py add index for Alias custom_domain_id and directory_id columns 2022-02-26 17:51:50 +01:00
2022_031015_b500363567e3_create_admin_audit_log.py Update parent migration 2022-03-14 11:06:30 +01:00
2022_050314_28b9b14c9664_store_provider_complaints.py Set default state for provider complaint 2022-05-03 14:16:04 +02:00
2022_050316_0aaad1740797_store_provider_complaints.py Align db with models for the audit_log 2022-05-03 16:48:54 +02:00
2022_050512_e866ad0e78e1_add_partner_tables.py Add login with proton 2022-05-05 12:20:55 +02:00
2022_051213_088f23324464_add_flags_to_the_user_model.py New migration 2022-05-12 13:42:53 +02:00
2022_052516_2b1d3cd93e4b_update_partner_api_token_token_length.py Store hmaced partner api tokens (#1028) 2022-06-02 11:24:04 +02:00
2022_060908_82d3c7109ffb_partner_user_and_partner_subscription.py Separate code for proton callback handler (#1040) 2022-06-09 10:19:49 +02:00
2022_061016_36646e5dc6d9_make_external_user_id_non_nullable.py Fix proton integration issues (#1071) 2022-06-10 16:21:56 +02:00
2022_061310_a7bcb872c12a_add_alias_transfer_token_expiration.py Store transfer tokens hashed in the db and only allow them to be valid for 24 hours (#1080) 2022-06-13 12:41:47 +02:00
2022_062217_673a074e4215_.py allow to hide some public domains and set their order (#1107) 2022-06-22 18:21:19 +02:00
2022_062218_d1fb679f7eec_add_sudo_expiration_for_apikeys.py Allow to set sudo mode for api requests (#1108) 2022-06-23 14:26:36 +02:00
2022_062714_bfebc2d5c719_add_state_to_job.py Add state management to job (#1113) 2022-06-28 09:22:48 +02:00
2022_070218_516c21ea7d87_.py Compute Proton metrics (#1135) 2022-07-04 11:40:29 +02:00
2022_070218_bd7d032087b2_.py Compute Proton metrics (#1135) 2022-07-04 11:40:29 +02:00
2022_070619_b0101a66bb77_add_unsubscribe_behaviour.py Allow users to keep the original unsub behaviour (#1148) 2022-07-19 17:25:21 +02:00
2022_072011_89081a00fc7d_default_unsub_behaviour.py Change default unsub behaviour to disable alias by default (#1174) 2022-07-20 11:57:34 +02:00
2022_072119_c66f2c5b6cb1_.py admin can manage newsletter and test sending it (#1177) 2022-07-22 11:24:53 +02:00
2022_081016_9cc0f0712b29_add_api_to_cookie_token.py Generate a web session from an api key (#1224) 2022-08-10 18:48:32 +02:00
2022_092716_bd95b2b4217f_updated_recovery_code_string_length.py Display recovery codes for mfa only once (#1317) 2022-10-03 12:32:45 +02:00
2022_101416_2c2093c82bc0_.py Init daily metric (#1351) 2022-10-14 17:35:34 +02:00
2023_040318_5f4a5625da66_.py Fix sever typo (#1701) 2023-04-20 11:06:59 +02:00
2023_041418_893c0d18475f_.py Add pgp_fingerprint as index for contacts (#1692) 2023-04-14 18:29:06 +02:00
2023_041419_bc496c0a0279_.py Add migrations to create indexes (#1694) 2023-04-14 19:10:21 +02:00
2023_041520_2d89315ac650_.py Add end_at index to PartnerSubscription (#1696) 2023-04-15 20:49:59 +02:00
2023_041916_01e2997e90d3_.py Alias domain as contact domain (#1689) 2023-04-20 12:14:53 +02:00
2023_042011_2634b41f54db_.py Alias domain as contact domain (#1689) 2023-04-20 12:14:53 +02:00
2023_072819_01827104004b_.py Add missing indexes (#1824) 2023-07-29 10:03:31 +02:00
2023_090715_0a5701a4f5e4_.py Schedule deletion of users (#1872) 2023-09-10 22:11:50 +02:00
2023_092818_ec7fdde8da9f_.py Add index on created_at for EmailLog (#1898) 2023-09-28 18:26:40 +02:00
2023_100510_46ecb648a47e_.py Add index on message_id for foreign key (#1906) 2023-10-05 10:55:29 +02:00
2023_110714_4bc54632d9aa_.py admin can clone newsletter (#1938) 2023-11-07 14:16:03 +01:00
2024_020110_818b0a956205_.py Store the latest email_log id in the alias to simplify dashboard query (#2022) 2024-02-15 15:48:02 +01:00
2024_031212_52510a633d6f_.py Add missing indexes and mark aliases as created by partner (#2058) 2024-03-13 14:30:17 +01:00
2024_040913_fa2f19bb4e5a_.py Premium user can enable data breach monitoring (#2084) 2024-04-12 10:39:23 +02:00
2024_051713_06a9a7133445_.py Add sync events (#2113) 2024-05-23 10:27:08 +02:00
2024_070516_d608b8e48082_.py chore: QOL improvements on alias delete due to cascade FKs (#2144) 2024-07-08 14:39:18 +00:00
2024_071908_56d08955fcab_add_retry_count_to_sync_event.py chore: add retry counter to event (#2159) 2024-07-23 14:11:16 +00:00
2024_073011_1c14339aae90_.py Move mailbox management to a module (#2164) 2024-07-30 13:36:48 +02:00
2024_091315_2441b7ff5da9_custom_domain_partner_id.py chore: refactor create custom domain (#2221) 2024-09-17 10:30:55 +02:00
2024_091915_88dd7a0abf54_contact_flags_custom_domain_pending_deletion.py chore: event changes (#2227) 2024-09-19 16:20:56 +02:00
2024_093011_62afa3a10010_custom_domain_indices.py chore: add custom domain indices (#2238) 2024-09-30 11:52:44 +02:00
2024_101113_91ed7f46dc81_alias_audit_log.py feat: alias audit log (#2261) 2024-10-14 12:45:00 +02:00
2024_101611_7d7b84779837_user_audit_log.py feat: user audit log (#2266) 2024-10-16 16:57:59 +02:00
2024_101616_32f25cbf12f6_alias_audit_log_index_created_at.py feat: user audit log (#2266) 2024-10-16 16:57:59 +02:00
2024_110610_4882cc49dde9_preserve_user_id_on_alias_delete.py feat: preserve user id on alias deleted (#2304) 2024-11-06 09:16:54 +00:00
2024_110612_bc9aa210efa3_revert_user_id_in_deleted_alias.py revert: deleted alias user id model and migration (#2306) 2024-11-06 12:52:15 +01:00
2024_111315_842ac670096e_add_missing_indices_on_user_and_mailbox.py chore: add missing indices for user and mailbox (#2319) 2024-11-13 15:02:19 +00:00
2024_111410_12274da2299f_add_missing_indices_on_email_log.py fix: add more missing indices for mailbox delete (#2321) 2024-11-14 09:33:16 +00:00
2024_111512_0f3ee15b0014_add_missing_indices_for_fk_constraints.py chore: add missing indices for fk constraints (#2324) 2024-11-15 14:56:15 +01:00
2024_112619_085f77996ce3_.py Add lifetime in partner subscriptions (#2331) 2024-11-27 11:05:03 +00:00
0256244cd7c8_.py
a8d8aa307b8b_.py
b20ee72fd9a4_.py
c6e7fc37ad42_.py
c79c702a1f23_.py
d03e433dc248_.py
d4e4488a0032_.py
d68a2d971b70_.py
e505cb517589_.py
e83298198ca5_.py
f234688f5ebd_.py