4ba6221e04
* stuff * stuff including batch_upsert function * stuff * do things * stuff * different timestamps * stuff * Revert changes to comment.rs * Update comment.rs * Update comment.rs * Update post_view.rs * Update utils.rs * Update up.sql * Update up.sql * Update down.sql * Update up.sql * Update main.rs * use anyhow macro * Create down.sql * Create up.sql * Create replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update utils.rs * Update .woodpecker.yml * Update sql_format_check.sh * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Create dump_schema.sh * Update start_dev_db.sh * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * Update replaceable_schema.sql * stuff * Update replaceable_schema.sql * Update .pg_format * fmt * stuff * stuff (#21) * Update replaceable_schema.sql * Update up.sql * Update replaceable_schema.sql * fmt * update cargo.lock * stuff * Update replaceable_schema.sql * Remove truncate trigger because truncate is already restricted by foreign keys * Update replaceable_schema.sql * fix some things * Update replaceable_schema.sql * Update replaceable_schema.sql * Update .woodpecker.yml * stuff * fix TG_OP * Psql env vars * try to fix combine_transition_tables parse error * Revert "try to fix combine_transition_tables parse error" This reverts commit 75d00a46266fbb49b7fab1b149c79fa1c31ee84a. * refactor combine_transition_tables * try to fix create_triggers * fix some things * try to fix combined_transition_tables * fix sql errors * update comment count in post trigger * fmt * Revert "fmt" This reverts commit a5bcd0834bb91a63b66bf63a848caa078f193940. * Revert "update comment count in post trigger" This reverts commit 0066a4b42b3472c088eed945605a2cf0bfcc1362. * fix everything * Update replaceable_schema.sql * actually fix everything * refactor create_triggers * fix * add semicolons * add is_counted function and fix incorrect bool operator in update_comment_count_from_post * refactor comment trigger * refactor post trigger * fix * Delete crates/db_schema/src/utils/series.rs * subscribers_local * edit migrations * move migrations * remove utils::series module declaration * fix everything * stuff * Move sql to schema_setup dir * utils.sql * delete .pg_format * Update .woodpecker.yml * Update sql_format_check.sh * Update .woodpecker.yml * Merge remote-tracking branch 'upstream/main' into bliss * fmt * Create main.rs * Update lib.rs * Update main.rs * Update .woodpecker.yml * Update main.rs * Update Cargo.toml * Update .woodpecker.yml * Update .woodpecker.yml * Update triggers.sql * YAY * Update mod.rs * Update Cargo.toml * a * Update Cargo.toml * Update Cargo.toml * Delete crates/db_schema/src/main.rs * Update Cargo.toml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update utils.sql * Update utils.sql * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update down.sql * Update up.sql * Update triggers.sql * Update .woodpecker.yml * Update .woodpecker.yml * Update triggers.sql * Update down.sql * Update .woodpecker.yml * Update Cargo.toml * Update .woodpecker.yml * Update Cargo.toml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update .woodpecker.yml * Update mod.rs * Update Cargo.toml * Update mod.rs * make dump_schema.sh executable * fix dump_schema.sh * defer * diff dumps * fmt * Update utils.sql * Update .woodpecker.yml * use correct version for pg_dump * Update .woodpecker.yml * Update .woodpecker.yml * change migration date * atomic site_aggregates insert * temporarily repeat tests in CI * drop r schema in CI migration check * show ReceivedActivity::create error * move check_diesel_migration CI step * Update .woodpecker.yml * Update scheduled_tasks.rs * Update scheduled_tasks.rs * update cargo.lock * move sql files * move rank functions * filter post_aggregates update * fmt * cargo fmt * replace post_id with id * update cargo.lock * avoid locking rows that need no change in up.sql * only run replaceable_schema if migrations were run * debug ci test failure * make replaceable_schema work in CI * Update .woodpecker.yml * remove println * Use migration revert and git checkout * Update schema_setup.rs * Fix * Update schema_setup.rs * Update schema_setup.rs * Update .woodpecker.yml --------- Co-authored-by: Nutomic <me@nutomic.com> Co-authored-by: Dessalines <dessalines@users.noreply.github.com> |
||
---|---|---|
.. | ||
00000000000000_diesel_initial_setup | ||
2019-02-26-002946_create_user | ||
2019-02-27-170003_create_community | ||
2019-03-03-163336_create_post | ||
2019-03-05-233828_create_comment | ||
2019-03-30-212058_create_post_view | ||
2019-04-03-155205_create_community_view | ||
2019-04-03-155309_create_comment_view | ||
2019-04-07-003142_create_moderation_logs | ||
2019-04-08-015947_create_user_view | ||
2019-04-11-144915_create_mod_views | ||
2019-04-29-175834_add_delete_columns | ||
2019-05-02-051656_community_view_hot_rank | ||
2019-06-01-222649_remove_admin | ||
2019-08-11-000918_add_nsfw_columns | ||
2019-08-29-040006_add_community_count | ||
2019-09-05-230317_add_mod_ban_views | ||
2019-09-09-042010_add_stickied_posts | ||
2019-10-15-181630_add_themes | ||
2019-10-19-052737_create_user_mention | ||
2019-10-21-011237_add_default_sorts | ||
2019-10-24-002614_create_password_reset_request | ||
2019-12-09-060754_add_lang | ||
2019-12-11-181820_add_site_fields | ||
2019-12-29-164820_add_avatar | ||
2020-01-01-200418_add_email_to_user_view | ||
2020-01-02-172755_add_show_avatar_and_email_notifications_to_user | ||
2020-01-11-012452_add_indexes | ||
2020-01-13-025151_create_materialized_views | ||
2020-01-21-001001_create_private_message | ||
2020-01-29-011901_create_reply_materialized_view | ||
2020-01-29-030825_create_user_mention_materialized_view | ||
2020-02-02-004806_add_case_insensitive_usernames | ||
2020-02-06-165953_change_post_title_length | ||
2020-02-07-210055_add_comment_subscribed | ||
2020-02-08-145624_add_post_newest_activity_time | ||
2020-03-06-202329_add_post_iframely_data | ||
2020-03-26-192410_add_activitypub_tables | ||
2020-04-03-194936_add_activitypub_for_posts_and_comments | ||
2020-04-07-135912_add_user_community_apub_constraints | ||
2020-04-14-163701_update_views_for_activitypub | ||
2020-04-21-123957_remove_unique_user_constraints | ||
2020-05-05-210233_add_activitypub_for_private_messages | ||
2020-06-30-135809_remove_mat_views | ||
2020-07-08-202609_add_creator_published | ||
2020-07-12-100442_add_post_title_to_comments_view | ||
2020-07-18-234519_add_unique_community_user_actor_ids | ||
2020-08-03-000110_add_preferred_usernames_banners_and_icons | ||
2020-08-06-205355_update_community_post_count | ||
2020-08-25-132005_add_unique_ap_ids | ||
2020-09-07-231141_add_migration_utils | ||
2020-10-07-234221_fix_fast_triggers | ||
2020-10-10-035723_fix_fast_triggers_2 | ||
2020-10-13-212240_create_report_tables | ||
2020-10-23-115011_activity_ap_id_column | ||
2020-11-05-152724_activity_remove_user_id | ||
2020-11-10-150835_community_follower_pending | ||
2020-11-26-134531_delete_user | ||
2020-12-02-152437_create_site_aggregates | ||
2020-12-03-035643_create_user_aggregates | ||
2020-12-04-183345_create_community_aggregates | ||
2020-12-10-152350_create_post_aggregates | ||
2020-12-14-020038_create_comment_aggregates | ||
2020-12-17-030456_create_alias_views | ||
2020-12-17-031053_remove_fast_tables_and_views | ||
2021-01-05-200932_add_hot_rank_indexes | ||
2021-01-26-173850_default_actor_id | ||
2021-01-27-202728_active_users_monthly | ||
2021-01-31-050334_add_forum_sort_index | ||
2021-02-02-153240_apub_columns | ||
2021-02-10-164051_add_new_comments_sort_index | ||
2021-02-13-210612_set_correct_aggregates_time_columns | ||
2021-02-25-112959_remove-categories | ||
2021-02-28-162616_clean_empty_post_urls | ||
2021-03-04-040229_clean_icon_urls | ||
2021-03-09-171136_split_user_table_2 | ||
2021-03-19-014144_add_col_local_user_validator_time | ||
2021-03-20-185321_move_matrix_id_to_person | ||
2021-03-31-103917_add_show_score_setting | ||
2021-03-31-105915_add_bot_account | ||
2021-03-31-144349_add_site_short_description | ||
2021-04-01-173552_rename_preferred_username_to_display_name | ||
2021-04-01-181826_add_community_agg_active_monthly_index | ||
2021-04-02-021422_remove_community_creator | ||
2021-04-20-155001_limit-admins-create-community | ||
2021-04-24-174047_add_show_read_post_setting | ||
2021-07-19-130929_add_show_new_post_notifs_setting | ||
2021-07-20-102033_actor_name_length | ||
2021-08-02-002342_comment_count_fixes | ||
2021-08-04-223559_create_user_community_block | ||
2021-08-16-004209_fix_remove_bots_from_aggregates | ||
2021-08-17-210508_create_mod_transfer_community | ||
2021-09-20-112945_jwt-secret | ||
2021-10-01-141650_create_admin_purge | ||
2021-11-22-135324_add_activity_ap_id_index | ||
2021-11-22-143904_add_required_public_key | ||
2021-11-23-031528_add_report_published_index | ||
2021-11-23-132840_email_verification | ||
2021-11-23-153753_add_invite_only_columns | ||
2021-12-09-225529_add_published_to_email_verification | ||
2021-12-14-181537_add_temporary_bans | ||
2022-01-04-034553_add_hidden_column | ||
2022-01-20-160328_remove_site_creator | ||
2022-01-28-104106_instance-actor | ||
2022-02-01-154240_add_community_title_index | ||
2022-02-18-210946_default_theme | ||
2022-04-04-183652_update_community_aggregates_on_soft_delete | ||
2022-04-11-210137_fix_unique_changeme | ||
2022-04-12-114352_default_post_listing_type | ||
2022-04-12-185205_change_default_listing_type_to_local | ||
2022-04-19-111004_default_require_application | ||
2022-04-26-105145_only_mod_can_post | ||
2022-05-19-153931_legal-information | ||
2022-05-20-135341_embed-url | ||
2022-06-12-012121_add_site_hide_modlog_names | ||
2022-06-13-124806_post_report_name_length | ||
2022-06-21-123144_language-tags | ||
2022-07-07-182650_comment_ltrees | ||
2022-08-04-150644_add_application_email_admins | ||
2022-08-04-214722_add_distinguished_comment | ||
2022-08-05-203502_add_person_post_aggregates | ||
2022-08-22-193848_comment-language-tags | ||
2022-09-07-113813_drop_ccnew_indexes_function | ||
2022-09-07-114618_pm-reports | ||
2022-09-08-102358_site-and-community-languages | ||
2022-09-24-161829_remove_table_aliases | ||
2022-10-06-183632_move_blocklist_to_db | ||
2022-11-13-181529_create_taglines | ||
2022-11-20-032430_sticky_local | ||
2022-11-21-143249_remove-federation-settings | ||
2022-11-21-204256_user-following | ||
2022-12-05-110642_registration_mode | ||
2023-01-17-165819_cleanup_post_aggregates_indexes | ||
2023-02-01-012747_fix_active_index | ||
2023-02-05-102549_drop-site-federation-debug | ||
2023-02-07-030958_community-collections | ||
2023-02-11-173347_custom_emojis | ||
2023-02-13-172528_add_report_email_admins | ||
2023-02-13-221303_add_instance_software_and_version | ||
2023-02-15-212546_add_post_comment_saved_indexes | ||
2023-02-16-194139_add_totp_secret | ||
2023-04-14-175955_add_listingtype_sorttype_enums | ||
2023-04-23-164732_add_person_details_indexes | ||
2023-05-10-095739_force_enable_undetermined_language | ||
2023-06-06-104440_index_post_url | ||
2023-06-07-105918_add_hot_rank_columns | ||
2023-06-17-175955_add_listingtype_sorttype_hour_enums | ||
2023-06-19-055530_add_retry_worker_setting | ||
2023-06-19-120700_no_double_deletion | ||
2023-06-20-191145_add_listingtype_sorttype_3_6_9_months_enums | ||
2023-06-21-153242_add_captcha | ||
2023-06-22-051755_fix_local_communities_marked_non_local | ||
2023-06-22-101245_increase_user_theme_column_size | ||
2023-06-24-072904_add_open_links_in_new_tab_setting | ||
2023-06-24-185942_aggegates_published_indexes | ||
2023-06-27-065106_add_ui_settings | ||
2023-07-04-153335_add_optimized_indexes | ||
2023-07-05-000058_person-admin | ||
2023-07-06-151124_hot-rank-future | ||
2023-07-08-101154_fix_soft_delete_aggregates | ||
2023-07-10-075550_add-infinite-scroll-setting | ||
2023-07-11-084714_receive_activity_table | ||
2023-07-14-154840_add_optimized_indexes_published | ||
2023-07-14-215339_aggregates_nonzero_indexes | ||
2023-07-18-082614_post_aggregates_community_id | ||
2023-07-19-163511_comment_sort_hot_rank_then_score | ||
2023-07-24-232635_trigram-index | ||
2023-07-26-000217_create_controversial_indexes | ||
2023-07-26-222023_site-aggregates-one | ||
2023-07-27-134652_remove-expensive-broken-trigger | ||
2023-08-01-101826_admin_flag_local_user | ||
2023-08-01-115243_persistent-activity-queue | ||
2023-08-02-144930_password-reset-token | ||
2023-08-02-174444_fix-timezones | ||
2023-08-08-163911_add_post_listing_mode_setting | ||
2023-08-09-101305_user_instance_block | ||
2023-08-23-182533_scaled_rank | ||
2023-08-29-183053_add_listing_type_moderator_view | ||
2023-08-31-205559_add_image_upload | ||
2023-09-01-112158_auto_resolve_report | ||
2023-09-07-215546_post-queries-efficient | ||
2023-09-11-110040_rework-2fa-setup | ||
2023-09-12-194850_add_federation_worker_index | ||
2023-09-18-141700_login-token | ||
2023-09-20-110614_drop-show-new-post-notifs | ||
2023-09-28-084231_import_user_settings_rate_limit | ||
2023-10-02-145002_community_followers_count_federated | ||
2023-10-06-133405_add_keyboard_navigation_setting | ||
2023-10-13-175712_allow_animated_avatars | ||
2023-10-17-181800_drop_remove_community_expires | ||
2023-10-23-184941_hot_rank_greatest_fix | ||
2023-10-24-030352_change_primary_keys_and_remove_some_id_columns | ||
2023-10-24-131607_proxy_links | ||
2023-10-24-183747_autocollapse_bot_comments | ||
2023-10-27-142514_post_url_content_type | ||
2023-11-01-223740_federation-published | ||
2023-11-02-120140_apub-signed-fetch | ||
2023-11-07-135409_inbox_unique | ||
2023-11-22-194806_low_rank_defaults | ||
2023-12-06-180359_edit_active_users | ||
2023-12-19-210053_tolerable-batch-insert-speed | ||
2023-12-22-040137_make-mixed-sorting-directions-work-with-tuple-comparison | ||
2024-01-02-094916_site-name-not-unique | ||
2024-01-05-213000_community_aggregates_add_local_subscribers | ||
2024-01-15-100133_local-only-community | ||
2024-01-22-105746_lemmynsfw-changes | ||
2024-01-25-151400_remove_auto_resolve_report_trigger | ||
2024-02-12-211114_add_vote_display_mode_setting | ||
2024-02-15-171358_default_instance_sort_type | ||
2024-02-24-034523_replaceable-schema | ||
2024-02-27-204628_add_post_alt_text | ||
2024-02-28-144211_hide_posts | ||
2024-03-06-104706_local_image_user_opt | ||
2024-03-06-201637_url_blocklist | ||
2024-04-05-153647_alter_vote_display_mode_defaults | ||
.gitkeep |