You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/migrations
Dessalines 235cc8b228
Moving settings to Database. (#2492)
* Moving settings to Database.

- Moves many settings into the database. Fixes #2285
- Adds a local_site and instance table. Fixes #2365 . Fixes #2368
- Separates SQL update an insert forms, to avoid runtime errors.
- Adds TypedBuilder to all the SQL forms, instead of default.

* Fix weird clippy issue.

* Removing extra lines.

* Some fixes from suggestions.

* Fixing apub tests.

* Using instance creation helper function.

* Move forms to their own line.

* Trying to fix local_site_data, still broken.

* Fixing federation tests.

* Trying to fix check features 1.

* Addressing PR comments.

* Adding check_apub to all verify functions.
2 years ago
..
00000000000000_diesel_initial_setup Isomorphic docker (#1124) 4 years ago
2019-02-26-002946_create_user Isomorphic docker (#1124) 4 years ago
2019-02-27-170003_create_community Isomorphic docker (#1124) 4 years ago
2019-03-03-163336_create_post Isomorphic docker (#1124) 4 years ago
2019-03-05-233828_create_comment Isomorphic docker (#1124) 4 years ago
2019-03-30-212058_create_post_view Isomorphic docker (#1124) 4 years ago
2019-04-03-155205_create_community_view Isomorphic docker (#1124) 4 years ago
2019-04-03-155309_create_comment_view Isomorphic docker (#1124) 4 years ago
2019-04-07-003142_create_moderation_logs Isomorphic docker (#1124) 4 years ago
2019-04-08-015947_create_user_view Isomorphic docker (#1124) 4 years ago
2019-04-11-144915_create_mod_views Isomorphic docker (#1124) 4 years ago
2019-04-29-175834_add_delete_columns Isomorphic docker (#1124) 4 years ago
2019-05-02-051656_community_view_hot_rank Isomorphic docker (#1124) 4 years ago
2019-06-01-222649_remove_admin Isomorphic docker (#1124) 4 years ago
2019-08-11-000918_add_nsfw_columns Isomorphic docker (#1124) 4 years ago
2019-08-29-040006_add_community_count Isomorphic docker (#1124) 4 years ago
2019-09-05-230317_add_mod_ban_views Isomorphic docker (#1124) 4 years ago
2019-09-09-042010_add_stickied_posts Isomorphic docker (#1124) 4 years ago
2019-10-15-181630_add_themes Isomorphic docker (#1124) 4 years ago
2019-10-19-052737_create_user_mention Isomorphic docker (#1124) 4 years ago
2019-10-21-011237_add_default_sorts Isomorphic docker (#1124) 4 years ago
2019-10-24-002614_create_password_reset_request Isomorphic docker (#1124) 4 years ago
2019-12-09-060754_add_lang Isomorphic docker (#1124) 4 years ago
2019-12-11-181820_add_site_fields Isomorphic docker (#1124) 4 years ago
2019-12-29-164820_add_avatar Isomorphic docker (#1124) 4 years ago
2020-01-01-200418_add_email_to_user_view Isomorphic docker (#1124) 4 years ago
2020-01-02-172755_add_show_avatar_and_email_notifications_to_user Isomorphic docker (#1124) 4 years ago
2020-01-11-012452_add_indexes Isomorphic docker (#1124) 4 years ago
2020-01-13-025151_create_materialized_views Isomorphic docker (#1124) 4 years ago
2020-01-21-001001_create_private_message Isomorphic docker (#1124) 4 years ago
2020-01-29-011901_create_reply_materialized_view Isomorphic docker (#1124) 4 years ago
2020-01-29-030825_create_user_mention_materialized_view Isomorphic docker (#1124) 4 years ago
2020-02-02-004806_add_case_insensitive_usernames Isomorphic docker (#1124) 4 years ago
2020-02-06-165953_change_post_title_length Isomorphic docker (#1124) 4 years ago
2020-02-07-210055_add_comment_subscribed Isomorphic docker (#1124) 4 years ago
2020-02-08-145624_add_post_newest_activity_time Isomorphic docker (#1124) 4 years ago
2020-03-06-202329_add_post_iframely_data Isomorphic docker (#1124) 4 years ago
2020-03-26-192410_add_activitypub_tables Isomorphic docker (#1124) 4 years ago
2020-04-03-194936_add_activitypub_for_posts_and_comments Isomorphic docker (#1124) 4 years ago
2020-04-07-135912_add_user_community_apub_constraints Isomorphic docker (#1124) 4 years ago
2020-04-14-163701_update_views_for_activitypub Isomorphic docker (#1124) 4 years ago
2020-04-21-123957_remove_unique_user_constraints Isomorphic docker (#1124) 4 years ago
2020-05-05-210233_add_activitypub_for_private_messages Isomorphic docker (#1124) 4 years ago
2020-06-30-135809_remove_mat_views Isomorphic docker (#1124) 4 years ago
2020-07-08-202609_add_creator_published Isomorphic docker (#1124) 4 years ago
2020-07-12-100442_add_post_title_to_comments_view Isomorphic docker (#1124) 4 years ago
2020-07-18-234519_add_unique_community_user_actor_ids Isomorphic docker (#1124) 4 years ago
2020-08-03-000110_add_preferred_usernames_banners_and_icons Isomorphic docker (#1124) 4 years ago
2020-08-06-205355_update_community_post_count Isomorphic docker (#1124) 4 years ago
2020-08-25-132005_add_unique_ap_ids Isomorphic docker (#1124) 4 years ago
2020-09-07-231141_add_migration_utils Merge branch 'add-view-helper-functions' of https://github.com/eiknat/lemmy into eiknat-add-view-helper-functions 4 years ago
2020-10-07-234221_fix_fast_triggers Adding no conflict triggers. Fixes #1179 4 years ago
2020-10-10-035723_fix_fast_triggers_2 Fixing hot_rank_active fast triggers. Fixes #1190 4 years ago
2020-10-13-212240_create_report_tables update/fix migration, add some doc 4 years ago
2020-10-23-115011_activity_ap_id_column Add /activities endpoint (ref #1220) 4 years ago
2020-11-05-152724_activity_remove_user_id In activity table, remove `user_id` and add `sensitive` (#127) 4 years ago
2020-11-10-150835_community_follower_pending Add pending status for federated follows 4 years ago
2020-11-26-134531_delete_user Better account deletion (fixes #730) (#143) 4 years ago
2020-12-02-152437_create_site_aggregates Report only local counts in site_view. 3 years ago
2020-12-03-035643_create_user_aggregates Adding tests for current aggregates. 3 years ago
2020-12-04-183345_create_community_aggregates Halfway done with hot rank indexes. 3 years ago
2020-12-10-152350_create_post_aggregates Fixing comment count necro-bump issue. 3 years ago
2020-12-14-020038_create_comment_aggregates Halfway done with hot rank indexes. 3 years ago
2020-12-17-030456_create_alias_views Removing fast tables and old views. 3 years ago
2020-12-17-031053_remove_fast_tables_and_views Dropping the unecessary views and table triggers. 3 years ago
2021-01-05-200932_add_hot_rank_indexes Adding stickied to post_aggregates. 3 years ago
2021-01-26-173850_default_actor_id Use Url type for ap_id fields in database (fixes #1364) (#1371) 3 years ago
2021-01-27-202728_active_users_monthly Adding some recurring lemmy tasks. (#1386) 3 years ago
2021-01-31-050334_add_forum_sort_index Adding forum sort for post_aggregates. Fixes #1312 (#1400) 3 years ago
2021-02-02-153240_apub_columns Store activitypub endpoints in database (#162) 3 years ago
2021-02-10-164051_add_new_comments_sort_index Adding a new comment sort for posts. Fixes #1294 (#1425) 3 years ago
2021-02-13-210612_set_correct_aggregates_time_columns Fix aggregates time columns 2 (#1427) 3 years ago
2021-02-25-112959_remove-categories In remove categories down migration, add default for category 3 years ago
2021-02-28-162616_clean_empty_post_urls Use URL type in most outstanding struct fields (#1468) 3 years ago
2021-03-04-040229_clean_icon_urls Fixing wrong user_ and community icon and banner urls. 3 years ago
2021-03-09-171136_split_user_table_2 ~80% done 3 years ago
2021-03-19-014144_add_col_local_user_validator_time Merge branch 'Mart-Bogdan-1462-jwt-revocation-on-pwd-change' into jwt_revocation_dess 3 years ago
2021-03-20-185321_move_matrix_id_to_person Moving admin to person table. Fixes #1515 3 years ago
2021-03-31-103917_add_show_score_setting Adding a setting to show / hide scores. Fixes #1503 3 years ago
2021-03-31-105915_add_bot_account Mark accounts as bot nutomic (#1565) 3 years ago
2021-03-31-144349_add_site_short_description Adding a short site description. Fixes #1496 (#1532) 3 years ago
2021-04-01-173552_rename_preferred_username_to_display_name Changing preferred to display name. Fixes #1211 3 years ago
2021-04-01-181826_add_community_agg_active_monthly_index Adding users active monthly for community sort. Fixes #1527 3 years ago
2021-04-02-021422_remove_community_creator Removing community.creator column. Fixes #1504 (#1541) 3 years ago
2021-04-20-155001_limit-admins-create-community Add option to limit community creation to admins only (fixes #1586) (#1587) 3 years ago
2021-04-24-174047_add_show_read_post_setting Add show_read_posts filter. Fixes #1561 3 years ago
2021-07-19-130929_add_show_new_post_notifs_setting Add show_new_posts_notifs setting. Fixes #1664 (#1665) 3 years ago
2021-07-20-102033_actor_name_length Actor name length config dess (#1672) 3 years ago
2021-08-02-002342_comment_count_fixes Some comment count fixes. 3 years ago
2021-08-04-223559_create_user_community_block User / community blocking. Fixes #426 (#1604) 3 years ago
2021-08-16-004209_fix_remove_bots_from_aggregates Make sure bots aren't included in aggregate counts (#1705) 3 years ago
2021-08-17-210508_create_mod_transfer_community Adding ModTransferCommunity to modlog in API. Fixes #1437 3 years ago
2021-09-20-112945_jwt-secret Move jwt secret from config to database (fixes #1728) 3 years ago
2021-10-01-141650_create_admin_purge Adding admin purging of DB items and pictures. #904 #1331 (#1809) 2 years ago
2021-11-22-135324_add_activity_ap_id_index Fix API dupes query. #1878 3 years ago
2021-11-22-143904_add_required_public_key Making public key required. Fixes #1934 3 years ago
2021-11-23-031528_add_report_published_index Fixing duped report view for admins. Fixes #1933 (#1945) 3 years ago
2021-11-23-132840_email_verification First pass at invite-only migration. (#1949) 2 years ago
2021-11-23-153753_add_invite_only_columns First pass at invite-only migration. (#1949) 2 years ago
2021-12-09-225529_add_published_to_email_verification First pass at invite-only migration. (#1949) 2 years ago
2021-12-14-181537_add_temporary_bans Adding temporary bans. Fixes #1423 (#1999) 2 years ago
2022-01-04-034553_add_hidden_column Hide community v2 (#2055) 2 years ago
2022-01-20-160328_remove_site_creator Removing the site creator, adding leave_admin. Fixes #1808 (#2052) 2 years ago
2022-01-28-104106_instance-actor Implement instance actor (#1798) 2 years ago
2022-02-01-154240_add_community_title_index Alpha-ordering community follows. Fixes #2062 (#2079) 2 years ago
2022-02-18-210946_default_theme Add site option for default theme (#2104) 2 years ago
2022-04-04-183652_update_community_aggregates_on_soft_delete Update community statistics after post or comment is deleted by user (#2193) 2 years ago
2022-04-11-210137_fix_unique_changeme Fixing generate unique changeme (#2205) 2 years ago
2022-04-12-114352_default_post_listing_type Add default post listing type (fixes #2195) (#2209) 2 years ago
2022-04-12-185205_change_default_listing_type_to_local Changing default listing type to Local from Subscribed. 2 years ago
2022-04-19-111004_default_require_application Require registration application by default (#2229) 2 years ago
2022-04-26-105145_only_mod_can_post Implement restricted community (only mods can post) (fixes #187) (#2235) 2 years ago
2022-05-19-153931_legal-information Add legal information (fixes #721) (#2273) 2 years ago
2022-05-20-135341_embed-url Embed Peertube videos (#2261) 2 years ago
2022-06-12-012121_add_site_hide_modlog_names Add Modlog Filters (#2313) 2 years ago
2022-06-13-124806_post_report_name_length Fix length of post_report.original_post_name db field (fixes #2311) (#2315) 2 years ago
2022-06-21-123144_language-tags Add language tags for comments 2 years ago
2022-07-07-182650_comment_ltrees First pass at adding comment trees. (#2362) 2 years ago
2022-08-04-150644_add_application_email_admins Adding email admins for new applications. Fixes #2271 (#2390) 2 years ago
2022-08-04-214722_add_distinguished_comment Adding distinguish comment. Fixes #2002 (#2391) 2 years ago
2022-08-05-203502_add_person_post_aggregates Showing # of unread comments for posts. Fixes #2134 (#2393) 2 years ago
2022-08-22-193848_comment-language-tags Add language tags for comments 2 years ago
2022-09-07-113813_drop_ccnew_indexes_function Adding job to drop phantom ccnew indexes. Fixes #2431 (#2432) 2 years ago
2022-09-07-114618_pm-reports Implement reports for private messages (#2433) 2 years ago
2022-09-08-102358_site-and-community-languages implement language tags for site/community in db and api (#2434) 2 years ago
2022-09-24-161829_remove_table_aliases Diesel 2.0.0 upgrade (#2452) 2 years ago
2022-10-06-183632_move_blocklist_to_db Moving settings to Database. (#2492) 2 years ago
.gitkeep Isomorphic docker (#1124) 4 years ago