..
20250705_migrate_admin_levels_on_users.rb
first pass
2025-07-05 22:14:47 -04:00
20240101000000_create_users.rb
Initial commit
2025-02-16 03:21:30 -05:00
20240316000001_create_daily_leaderboard_entries.rb
Add daily leaderboard
2025-02-17 19:05:30 -05:00
20240316000002_rename_daily_leaderboard_tables.rb
Add daily leaderboard
2025-02-17 19:05:30 -05:00
20240316000003_remove_status_from_leaderboards.rb
Add daily leaderboard
2025-02-17 19:05:30 -05:00
20240320000000_add_profile_fields_to_users.rb
Add avatar and name to OAuth
2025-02-16 12:26:22 -05:00
20240320000001_add_admin_at_to_users.rb
Add admins, papertrail, ensure admin authentication on dashboard
2025-02-17 11:32:41 -05:00
20240320000002_switch_admin_at_to_is_admin.rb
Add admins, papertrail, ensure admin authentication on dashboard
2025-02-17 11:32:41 -05:00
20250216173458_create_versions.rb
Fix rubocop!
2025-02-17 16:44:26 -05:00
20250216173459_add_object_changes_to_versions.rb
Add admins, papertrail, ensure admin authentication on dashboard
2025-02-17 11:32:41 -05:00
20250221204236_add_uses_slack_status.rb
Add slack status feature
2025-02-21 17:39:41 -05:00
20250221205702_add_slack_oauth_scopes_to_users.rb
Add slack status feature
2025-02-21 17:39:41 -05:00
20250221224605_create_good_jobs.rb
Run robocop
2025-02-21 20:32:03 -05:00
20250222002320_add_finished_generating_at_to_leaderboards.rb
Switch to soft deletion on leaderboards
2025-02-21 19:58:45 -05:00
20250222004511_remove_start_date_unique_index_from_leaderboards.rb
Switch to soft deletion on leaderboards
2025-02-21 19:58:45 -05:00
20250222005401_add_deleted_at_to_leaderboards.rb
Switch to soft deletion on leaderboards
2025-02-21 19:58:45 -05:00
20250222031955_create_sailors_logs.rb
Initial code for replicating hackclub/sailors-log
2025-02-22 00:15:16 -05:00
20250222032551_create_sailors_log_notification_preferences.rb
Initial code for replicating hackclub/sailors-log
2025-02-22 00:15:16 -05:00
20250222032930_create_sailors_log_slack_notifications.rb
Initial code for replicating hackclub/sailors-log
2025-02-22 00:15:16 -05:00
20250222082500_add_unique_index_to_sailors_log_notification_preferences.rb
Add sailors log remote database
2025-02-22 23:12:00 -05:00
20250223072034_create_sailors_log_leaderboards.rb
Track sailors log leaderboards in the db
2025-02-23 04:08:22 -05:00
20250223085114_add_deleted_at_to_sailors_log_leaderboard_job.rb
Track sailors log leaderboards in the db
2025-02-23 04:08:22 -05:00
20250303175821_create_api_keys.rb
Update api keys migration to check for existing index
2025-03-04 16:49:27 -05:00
20250303180842_create_heartbeats.rb
First version of bulk uploads
2025-03-03 23:13:39 -05:00
20250304032720_add_extension_text_type_to_users.rb
First version of bulk uploads
2025-03-03 23:13:39 -05:00
20250305061242_uniqueness_index_to_hash_on_heartbeats.rb
Just create new hash instead of enforcing unique hash
2025-03-05 02:23:37 -05:00
20250305194250_add_source_to_heartbeats.rb
Add heartbeat source
2025-03-05 14:58:24 -05:00
20250305195904_enforce_uniqueness_index_on_heartbeats.rb
Enforce uniqueness on heartbeats
2025-03-05 15:42:53 -05:00
20250306033109_change_heartbeats_time_to_float8.rb
Switch from hackatime heartbeats to native heartbeats
2025-03-05 23:24:30 -05:00
20250307201004_rename_user_id_on_leaderboard_entries.rb
Create 20250307201004_rename_user_id_on_leaderboard_entries.rb
2025-03-07 16:35:43 -05:00
20250307223936_create_email_addresses.rb
Create 20250307223936_create_email_addresses.rb
2025-03-07 18:11:32 -05:00
20250307224352_move_emails_to_email_addresses.rb
Create 20250307224352_move_emails_to_email_addresses.rb
2025-03-07 18:11:37 -05:00
20250307225347_create_sign_in_tokens.rb
Create 20250307225347_create_sign_in_tokens.rb
2025-03-07 18:11:42 -05:00
20250310165010_rename_avatar_url_to_slack_avatar_url_on_users.rb
Avatar supports non-slack users
2025-03-10 14:34:28 -04:00
20250312110220_add_period_type_to_leaderboards.rb
slight updates for weekly leaderboards
2025-03-13 18:38:04 -04:00
20250312160326_create_project_repo_mappings.rb
Add ProjectRepoMappings
2025-03-12 12:15:14 -04:00
20250312172534_allow_null_slack_uid.rb
Allow null slack uid for users creating accounts via email
2025-03-12 13:39:11 -04:00
20250313205725_switch_leaderboard_entries_to_user_id.rb
Leaderboard should handle missing slack_uid
2025-03-13 17:40:37 -04:00
20250315030446_add_ip_address_to_heartbeats.rb
Add ip address to heartbeats
2025-03-14 23:07:08 -04:00
20250315214819_add_index_category_time_heartbeats.rb
Rubocop run
2025-03-15 21:18:20 -04:00
20250319142656_add_timezone_to_users.rb
Add timezone support for users
2025-03-19 10:37:23 -04:00
20250319165910_add_git_hub_fields_to_users.rb
Add github auth ( #68 )
2025-03-19 14:19:43 -04:00
20250319193636_add_slack_username_to_users.rb
Set slack_username field separate from usernames
2025-03-19 15:42:54 -04:00
20250324203539_add_streak_count_to_leaderboard_entries.rb
Add streaks ( #114 )
2025-03-24 16:39:20 -04:00
20250425211619_add_ysws_program_to_heartbeats.rb
Add initial ysws program claiming ( #178 )
2025-04-26 12:15:15 -04:00
20250503215404_add_source_to_email_addresses.rb
Add list of email addresses on settings page ( #197 )
2025-05-03 18:10:56 -04:00
20250505045020_create_ahoy_visits_and_events.rb
Add ahoy ( #204 )
2025-05-05 09:38:39 -04:00
20250505151057_create_email_verification_requests.rb
Initial email verification request implementation ( #205 )
2025-05-05 11:46:31 -04:00
20250505152654_add_deleted_at_to_email_verification_requests.rb
Initial email verification request implementation ( #205 )
2025-05-05 11:46:31 -04:00
20250506155521_add_slack_neighborhood_channel_to_users.rb
Add slack neighborhood channel into db
2025-05-06 12:23:30 -04:00
20250507174855_add_omit_from_leaderboard_to_users.rb
Add omit_from_leaderboard to users
2025-05-07 13:50:15 -04:00
20250507182617_add_deleted_at_to_heartbeats.rb
Add soft-deletion / update field_hash generation
2025-05-07 14:33:36 -04:00
20250507183451_add_partial_unique_index_to_heartbeat_fields_hash.rb
Add unique index for fields_hash when not deleted
2025-05-07 14:41:18 -04:00
20250507184341_remove_fields_hash_index_from_heartbeats.rb
Remove old index that ignored deleted field
2025-05-07 14:48:46 -04:00
20250507204732_add_trust_level_to_users.rb
Switch omit_from_leaderboard bool to trust_level enum
2025-05-07 16:51:41 -04:00
20250507211848_add_index_to_heartbeats.rb
Only run if not exists
2025-05-07 17:21:34 -04:00
20250509160228_add_raw_data_to_heartbeats.rb
Add raw_data to heartbeats
2025-05-09 12:32:58 -04:00
20250509170101_add_country_code_to_users.rb
Add country code to users
2025-05-09 13:09:49 -04:00
20250509183721_create_mailing_addresses.rb
Add mailing address form
2025-05-09 16:37:03 -04:00
20250509191155_add_mailing_address_otc_to_users.rb
Add mailing address form
2025-05-09 16:37:03 -04:00
20250512205858_create_wakatime_mirrors.rb
Handle duplicated api key names in transfer job ( #222 )
2025-05-12 17:39:45 -04:00
20250513183739_create_raw_heartbeat_uploads.rb
Add raw heartbeat request storing
2025-05-13 14:48:24 -04:00
20250513184040_add_raw_heartbeat_upload_to_heartbeats.rb
Add raw heartbeat request storing
2025-05-13 14:48:24 -04:00
20250514150404_create_physical_mails.rb
Add physical mail model
2025-05-14 11:50:50 -04:00
20250514180503_create_repo_host_events.rb
Rubocop format
2025-05-15 09:36:38 -04:00
20250514212714_create_commits.rb
Sync in commit data
2025-05-14 17:35:41 -04:00
20250516140014_create_neighborhood_posts.rb
Add neighborhood airtable post records
2025-05-16 10:04:02 -04:00
20250516142026_create_neighborhood_apps.rb
Add neighborhood apps/projects
2025-05-16 10:33:07 -04:00
20250516142043_create_neighborhood_projects.rb
Add neighborhood apps/projects
2025-05-16 10:33:07 -04:00
20250522062125_create_neighborhood_ysws_submissions.rb
Initial implementation of post_reviews_controller ( #247 )
2025-05-22 03:14:27 -04:00
20250527052632_add_indexes_for_active_projects_query.rb
Add index to speed up active project calculation
2025-05-27 01:31:32 -04:00
20250530015016_create_repositories.rb
Sync in and display repo metadata
2025-05-30 09:57:27 -04:00
20250530015024_update_project_repo_mappings_to_use_repository.rb
Sync in and display repo metadata
2025-05-30 09:57:27 -04:00
20250530015530_add_repository_to_commits.rb
Sync in and display repo metadata
2025-05-30 09:57:27 -04:00
20250530135145_add_homepage_to_repositories.rb
Sync in and display repo metadata
2025-05-30 09:57:27 -04:00
20250531120000_add_allow_public_stats_lookup_to_users.rb
allow users to hide stats from public lookup
2025-05-31 22:46:40 -04:00
20250608195535_create_doorkeeper_tables.rb
may i remind you, mr. wofford, you're under OAuth ( #284 )
2025-06-08 19:04:51 -04:00
20250608205244_add_continue_param_to_sign_in_tokens.rb
may i remind you, mr. wofford, you're under OAuth ( #284 )
2025-06-08 19:04:51 -04:00
20250609143856_add_index_to_leaderboards_start_date.rb
Add index to leaderboards where not deleted
2025-06-09 10:46:39 -04:00
20250609144356_add_index_to_commits_user_id_created_at.rb
Rubocop format
2025-06-09 10:52:30 -04:00
20250609203830_create_ahoy_captain_indexes.rb
Add AhoyCaptain indexes
2025-06-09 16:39:51 -04:00
20250611061502_add_beta_features_to_users.rb
Add flipper for feature flags
2025-06-11 02:31:41 -04:00
20250611062306_create_flipper_tables.rb
Add flipper for feature flags
2025-06-11 02:31:41 -04:00
20250611062456_remove_beta_features_from_users.rb
Add flipper for feature flags
2025-06-11 02:31:41 -04:00
20250611070646_add_scope_to_leaderboards.rb
Add regional leaderboard beta opt-in ( #305 )
2025-06-11 04:12:18 -04:00
20250611071124_remove_scope_from_leaderboards.rb
Add regional leaderboard beta opt-in ( #305 )
2025-06-11 04:12:18 -04:00
20250613163710_add_return_data_to_sign_in_tokens.rb
add program return button ( #314 )
2025-06-13 13:48:21 -04:00
20250616191832_add_index_to_good_jobs_finished_at_with_error.rb
Add if_not_exists to recent indexes
2025-06-17 14:29:57 -04:00
20250616192214_add_index_to_ahoy_visits_started_at_with_referring_domain.rb
Add if_not_exists to recent indexes
2025-06-17 14:29:57 -04:00
20250618170000_add_default_timezone_leaderboard_to_users.rb
if not exists
2025-06-18 16:14:14 -04:00
20250623135342_add_github_index_to_users.rb
Allow GitHub account reuse when unlinked ( #352 )
2025-06-23 10:21:15 -04:00
20250626001500_add_indexes_for_leaderboard_performance.rb
optimize mini leaderboards
2025-06-25 20:41:38 -04:00
20250628011017_create_solid_cache_entries.rb
Take 2 of switching to psql cache!
2025-06-27 21:26:29 -04:00
20250630000001_add_is_superadmin_to_users.rb
audit logs because neon messed it up
2025-06-30 22:52:29 -04:00
20250630000002_create_trust_level_audit_logs.rb
audit logs because neon messed it up
2025-06-30 22:52:29 -04:00
20250701142553_create_admin_api_keys.rb
why is there a w there
2025-07-01 12:28:58 -04:00
20250709001202_add_stats_performance_indexes.rb
project lookup indexes
2025-07-08 20:14:02 -04:00
20250722233948_add_index_to_heartbeats_project.rb
lint
2025-07-23 06:31:59 +05:30
20250821021751_add_alt_identifying_indexes.rb
improve machine and ip address heartbeat querying speeds ( #490 )
2025-08-25 09:01:05 -04:00
20251003161836_add_foreign_keys_to_oauth_access.rb
Patch up oauth implementation ( #560 )
2025-10-03 18:22:37 -04:00
20251003215127_create_activities.rb
Initial new activity log ( #562 )
2025-10-03 20:52:36 -04:00
20251018181955_add_custom_name.rb
add custom display name support
2025-10-19 10:40:41 +01:00
20251021202329_deprecate_username.rb
deprecate username + name cleanup
2025-10-21 21:28:35 +01:00
20251021211039_rename_custom_username.rb
rename custom_name to username + fix audit logs
2025-10-21 22:15:16 +01:00
20251116045400_clean_up_weekly_leaderboards.rb
bug fixes ( #630 )
2025-11-16 00:23:42 -05:00
20251201161700_add_index_to_users_username.rb
index users on username ( #674 )
2025-12-01 11:20:06 -05:00
20251202221230_add_hca_fields_to_users.rb
Add HCA signin ( #684 )
2025-12-03 14:05:30 -05:00
20251205211711_create_project_labels.rb
fix broken project labels table ( #689 )
2025-12-05 16:22:18 -05:00
20251208020226_create_deletion_requests.rb
data deletion oneshot ( #691 )
2025-12-07 22:49:40 -05:00
20251229142540_remove_neighborhood_models.rb
Remove old neighborhood logic ( #753 )
2025-12-30 21:31:57 +01:00
20251230202839_remove_slack_neighborhood_channel_from_users.rb
Remove old neighborhood logic ( #753 )
2025-12-30 21:31:57 +01:00
20260103141942_drop_mailing_system.rb
remove mailing system ( #763 )
2026-01-03 09:25:47 -05:00
20260105230132_add_archived_at_to_project_repo_mappings.rb
archive projects ( #770 )
2026-01-06 09:28:39 -05:00
20260106143925_allow_null_repo_url_on_project_repo_mappings.rb
allow repo mapping on projects without a repo url ( #771 )
2026-01-06 09:45:27 -05:00
20260117202656_add_slack_synced_at_to_users.rb
adding columns does not need disable_ddl_transaction! ( #798 )
2026-01-17 17:31:54 -05:00
20260117224613_add_index_heartbeats_on_user_id_where_ip_not_null.rb
optimize geocoding user job ( #799 )
2026-01-17 17:59:38 -05:00
20260120014145_add_verified_to_oauth_applications.rb
Oauth apps for all! ( #810 )
2026-01-19 22:24:21 -05:00
20260120014910_add_owner_to_oauth_applications.rb
Oauth apps for all! ( #810 )
2026-01-19 22:24:21 -05:00
20260202210552_create_pghero_query_stats.rb
fix linting ( #898 )
2026-02-02 20:38:52 -05:00
20260202210555_create_pghero_space_stats.rb
fix linting ( #898 )
2026-02-02 20:38:52 -05:00
20260204113033_drop_ahoy_tables.rb
ahoy is walking the plank ( #903 )
2026-02-04 13:13:48 +00:00
20260215093600_remove_public_activity_log_flipper_feature.rb
Remove unused public_activity + downsize activity graph Inertia payload ( #946 )
2026-02-15 09:54:29 +00:00
20260215094000_drop_activities_table.rb
Remove unused public_activity + downsize activity graph Inertia payload ( #946 )
2026-02-15 09:54:29 +00:00
20260215191500_add_theme_to_users.rb
Themes! ( #952 )
2026-02-15 22:14:46 +00:00
20260215220822_change_default_theme_to_gruvbox_dark.rb
Themes! ( #952 )
2026-02-15 22:14:46 +00:00
20260219125517_add_public_profile_fields_to_users.rb
goaaaal! ( #985 )
2026-02-19 18:47:01 +00:00
20260219153152_create_goals.rb
goaaaal! ( #985 )
2026-02-19 18:47:01 +00:00
20260221113553_create_active_storage_tables.active_storage.rb
Make large exports go to ActiveStorage ( #990 )
2026-02-21 11:53:18 +00:00
20260223134702_create_heartbeat_import_sources.rb
Imports + mirrors :DD ( #993 )
2026-02-23 15:00:43 +00:00
20260223134704_add_sync_state_to_wakatime_mirrors.rb
Imports + mirrors :DD ( #993 )
2026-02-23 15:00:43 +00:00
20260223134705_add_index_on_heartbeats_for_mirror_reads.rb
Fix migration!
2026-02-23 20:20:05 +00:00
20260223212054_add_weekly_summary_email_enabled_to_users.rb
Weekly summary emails + move off Loops ( #998 )
2026-02-23 22:15:02 +00:00
20260301125356_add_weekly_summary_email_enabled_back_to_users.rb
Revert all commits after d5d987a8f4 ( #1020 )
2026-03-01 13:09:10 +00:00
20260301200000_create_mailkick_subscriptions_v2.rb
Bring back Mailkick ( #1021 )
2026-03-01 14:26:54 +00:00
20260301200002_create_notable_tables.rb
Bring back Mailkick ( #1021 )
2026-03-01 14:26:54 +00:00