ZIm/crates/collab/migrations
Marshall Bowers 2781a30971
collab: Add Orb subscription status and period to billing_subscriptions table (#36682)
This PR adds the following new columns to the `billing_subscriptions`
table:

- `orb_subscription_status`
- `orb_current_billing_period_start_date`
- `orb_current_billing_period_end_date`

Release Notes:

- N/A
2025-08-21 13:59:18 +00:00
..
20210527024318_initial_schema.sql
20210607190313_create_access_tokens.sql
20210805175147_create_chat_tables.sql
20210916123647_add_nonce_to_channel_messages.sql
20210920192001_add_interests_to_signups.sql
20220421165757_drop_signups.sql
20220505144506_add_trigram_index_to_users.sql
20220506130724_create_contacts.sql
20220518151305_add_invites_to_users.sql
20220523232954_allow_user_deletes.sql
20220620211403_create_projects.sql
20220913211150_create_signups.sql
20220929182110_add_metrics_id.sql
20221111092550_reconnection_support.sql
20221125192125_add_added_to_mailing_list_to_signups.sql
20221207165001_add_connection_lost_to_room_participants.sql
20221213125710_index_room_participants_on_room_id.sql
20221214144346_change_epoch_from_uuid_to_integer.sql
20221219181850_project_reconnection_support.sql
20230103200902_replace_is_completed_with_completed_scan_id.sql
20230202155735_followers.sql
20230508211523_add-repository-entries.sql
20230511004019_add_repository_statuses.sql
20230529164700_add_worktree_settings_files.sql
20230605191135_remove_repository_statuses.sql
20230616134535_add_is_external_to_worktree_entries.sql
20230727150500_add_channels.sql
20230819154600_add_channel_buffers.sql
20230825190322_add_server_feature_flags.sql
20230907114200_add_channel_messages.sql
20230925210437_add_channel_changes.sql
20230926102500_add_participant_index_to_room_participants.sql
20231004130100_create_notifications.sql
20231009181554_add_release_channel_to_rooms.sql
20231010114600_add_unique_index_on_rooms_channel_id.sql
20231011214412_add_guest_role.sql
20231017185833_projects_room_id_fkey_on_delete_cascade.sql
20231018102700_create_mentions.sql
20231024085546_move_channel_paths_to_channels_table.sql
20240103025509_add_role_to_room_participants.sql
20240111085546_fix_column_name.sql
20240117150300_add_impersonator_to_access_tokens.sql
20240122174606_add_contributors.sql
20240122224506_add_requires_zed_cla_column_to_channels.sql
20240129193601_fix_parent_path_index.sql
20240203113741_add_reply_to_message.sql
20240207041417_add_in_call_column_to_room_participants.sql
20240213200201_remove_unused_room_columns.sql
20240214102900_add_extensions.sql
20240220234826_add_rate_buckets.sql
20240221151017_add_edited_at_field_to_channel_message.sql
20240226163408_hosted_projects.sql
20240226164505_unique_channel_names.sql
20240227215556_hosted_projects_in_projects.sql
20240307163119_denormalize_buffer_ops.sql
20240315182903_non_null_channel_role.sql
20240315183903_channel_parent_path_not_null.sql
20240320124800_add_extension_schema_version.sql
20240321162658_add_devservers.sql
20240335123500_add_extension_wasm_api_version.sql
20240402155003_add_dev_server_projects.sql
20240409082755_create_embeddings.sql
20240412165156_dev_servers_per_user.sql
20240417192746_unique_remote_projects_by_paths.sql
20240502150229_rename_to_dev_server_projects.sql
20240502180204_remove_old_remote_projects.sql
20240514164510_store_ssh_connect_string.sql
20240715230940_add_worktrees_to_dev_server_projects.sql
20240729170526_add_billing_subscription.sql
20240730014107_add_billing_customer.sql
20240730122654_add_last_stripe_event_id.sql
20240730182554_add_processed_stripe_events.sql
20240731120800_add_stripe_cancel_at_to_billing_subscriptions.sql
20240812073542_add_accepted_tos_at.sql
20240812204045_add_github_user_created_at_to_users.sql
20240816181658_add_enabled_for_all_to_feature_flags.sql
20240822215737_add_unique_constraint_on_github_user_id_on_users.sql
20240823155956_add_is_fifo_to_worktree_entries.sql
20241002120231_add_local_settings_kind.sql
20241009190639_add_billing_preferences.sql
20241019184824_adjust_symlink_data.sql
20241021202606_add_custom_llm_monthly_allowance_in_cents_to_users.sql
20241023201725_remove_dev_servers.sql
20241121185750_add_breakpoints.sql
20250108184547_add_stripe_cancellation_reason_to_billing_subscriptions.sql
20250113230049_expand_git_status_information.sql
20250117100620_add_user_name.sql
20250204224004_add_has_overdue_invoices_to_billing_customers.sql
20250205192813_add_provides_fields_to_extension_versions.sql
20250205232017_add_conflicts_to_repositories.sql
20250210223746_add_branch_summary.sql
20250212060936_add_worktree_branch_summary.sql
20250319182812_create_project_repositories.sql
20250415164141_add_kind_and_period_to_billing_subscriptions.sql
20250422194500_add_trial_started_at_to_billing_customers.sql collab: Limit customers to one free trial (#29232) 2025-04-22 20:41:17 +00:00
20250423150129_add_head_commit_details_to_project_repositories.sql collab: Add head_commit_details column to project_repositories (#29284) 2025-04-23 15:35:49 +00:00
20250425201930_add_model_request_overages_to_billing_preferences.sql collab: Add LLM request overage columns to billing_preferences (#29446) 2025-04-25 20:43:43 +00:00
20250530175450_add_channel_order.sql Add channel reordering functionality (#31833) 2025-06-04 16:56:33 +00:00
20250612153105_add_collaborator_commit_email.sql Use git config --global user.email for email address in automatic Co-authored-by (#32624) 2025-06-12 19:39:08 +00:00
20250617082236_add_debug_adapter_provides_field_to_extensions.sql extensions: Add "Debug Adapters" category to the extension store (#32845) 2025-06-17 12:09:08 +02:00
20250702185129_add_cascading_delete_to_repository_entries.sql Clean up project repositories / repository statuses too (#33803) 2025-07-02 21:36:12 -06:00
20250707182700_add_access_tokens_cascade_delete_on_user.sql Delete access tokens on user delete (#34036) 2025-07-08 10:08:17 -04:00
20250804080620_language_server_capabilities.sql Stop sending redundant LSP proto requests (#35581) 2025-08-05 13:36:05 +00:00
20250816124707_make_admin_required_on_users.sql collab: Make admin column non-nullable on users table (#36307) 2025-08-16 13:09:14 +00:00
20250816133027_add_orb_customer_id_to_billing_customers.sql collab: Add orb_customer_id to billing_customers (#36310) 2025-08-16 13:48:38 +00:00
20250816135346_drop_rate_buckets_table.sql collab: Drop rate_buckets table (#36315) 2025-08-16 14:11:36 +00:00
20250818192156_add_git_merge_message.sql git: Suggest merge commit message in remote (#36430) 2025-08-18 21:08:20 -05:00
20250819022421_add_orb_subscription_id_to_billing_subscriptions.sql collab: Add orb_subscription_id to billing_subscriptions (#36455) 2025-08-19 02:43:27 +00:00
20250819225916_make_stripe_fields_optional_on_billing_subscription.sql collab: Make stripe_subscription_id and stripe_subscription_status nullable on billing_subscriptions (#36536) 2025-08-19 20:25:07 -04:00
20250821133754_add_orb_subscription_status_and_period_to_billing_subscriptions.sql collab: Add Orb subscription status and period to billing_subscriptions table (#36682) 2025-08-21 13:59:18 +00:00