drone/app/store/database/migrate/sqlite
2025-01-27 22:03:35 +00:00
..
0001_create_table_a_principals.up.sql
0001_create_table_b_spaces.up.sql
0001_create_table_c_repositories.up.sql
0001_create_table_d_paths.up.sql
0001_create_table_e_tokens.up.sql
0002_create_index_paths_repo_id_is_primary.up.sql
0002_create_index_paths_space_id_is_primary.up.sql
0002_create_index_principals_lower_email.up.sql
0002_create_index_principals_sa_parent_id_sa_parent_type.up.sql
0002_create_index_repositories_parent_id.up.sql
0002_create_index_spaces_parent_id.up.sql
0002_create_index_tokens_principal_id.up.sql
0003_create_table_pullreqs.up.sql
0004_create_index_pullreqs_source_repo_branch_target_repo_branch.up.sql
0004_create_index_pullreqs_target_repo_id_number.up.sql
0005_create_table_pullreq_activities.up.sql
0006_create_index_pullreq_activities_pullreq_id_order_sub_order.up.sql
0007_create_table_webhooks.up.sql
0008_create_index_webhooks_repo_id.up.sql
0008_create_index_webhooks_space_id.up.sql
0009_create_table_webhook_executions.up.sql
0010_create_index_webhook_executions_webhook_id.up.sql
0011_create_table_pullreq_reviews.up.sql
0012_create_index_pullreq_reviews_pullreq_id.up.sql
0013_create_table_pullreq_reviewers.down.sql
0013_create_table_pullreq_reviewers.up.sql
0014_alter_pullreq_activity_code_comments.down.sql
0014_alter_pullreq_activity_code_comments.up.sql
0015_alter_pullreq_merge_base_not_nullable.down.sql
0015_alter_pullreq_merge_base_not_nullable.up.sql
0016_alter_pullreq_add_unresolved.down.sql
0016_alter_pullreq_add_unresolved.up.sql
0017_create_table_checks.down.sql
0017_create_table_checks.up.sql
0018_alter_check_add_payload_version.down.sql
0018_alter_check_add_payload_version.up.sql
0019_create_table_memberships.down.sql
0019_create_table_memberships.up.sql
0020_alter_pullreq_source_repo_id_constraint.down.sql
0020_alter_pullreq_source_repo_id_constraint.up.sql
0021_alter_table_webhook_add_internal_down.sql
0021_alter_table_webhook_add_internal_up.sql
0022_create_table_jobs.down.sql
0022_create_table_jobs.up.sql
0023_index_jobs_last_executed.down.sql
0023_index_jobs_last_executed.up.sql
0024_alter_repo_add_importing.down.sql
0024_alter_repo_add_importing.up.sql
0025_alter_table_job_add_group_id.down.sql
0025_alter_table_job_add_group_id.up.sql
0026_alter_repo_drop_job_id.down.sql
0026_alter_repo_drop_job_id.up.sql
0027_create_ci_tables.down.sql
0027_create_ci_tables.up.sql
0028_alter_token_drop_grants.down.sql
0028_alter_token_drop_grants.up.sql
0029_create_index_job_job_group_id_down.sql
0029_create_index_job_job_group_id_up.sql
0030_create_table_space_paths.down.sql
0030_create_table_space_paths.up.sql
0031_alter_index_repositories.down.sql
0031_alter_index_repositories.up.sql
0032_create_table_pullreq_file_views.down.sql
0032_create_table_pullreq_file_views.up.sql
0033_alter_ci_tables.up.sql
0034_create_index_webhook_executions_created.down.sql
0034_create_index_webhook_executions_created.up.sql
0035_create_index_tokens_type_expires_at.down.sql
0035_create_index_tokens_type_expires_at.up.sql
0036_create_table_rules.down.sql add branch protection: DB and API layer (#671) 2023-10-16 11:33:00 +00:00
0036_create_table_rules.up.sql add branch protection: DB and API layer (#671) 2023-10-16 11:33:00 +00:00
0037_alter_pullreq_add_commit_count.down.sql store PR commit count in the DB (#842) 2023-11-30 15:01:18 +00:00
0037_alter_pullreq_add_commit_count.up.sql store PR commit count in the DB (#842) 2023-11-30 15:01:18 +00:00
0038_alter_table_c_repositories.down.sql Add func to git service to count repo objects and read repo size (#886) 2023-12-29 12:33:53 +00:00
0038_alter_table_c_repositories.up.sql Add func to git service to count repo objects and read repo size (#886) 2023-12-29 12:33:53 +00:00
0039_alter_table_webhooks_uid.down.sql [Webhook] Add UID field (#936) 2023-12-29 16:39:45 +00:00
0039_alter_table_webhooks_uid.up.sql [Webhook] Add UID field (#936) 2023-12-29 16:39:45 +00:00
0040_alter_table_templates_add_type.down.sql Templates support for v1 pipelines (#955) 2024-01-12 11:02:31 +00:00
0040_alter_table_templates_add_type.up.sql Templates support for v1 pipelines (#955) 2024-01-12 11:02:31 +00:00
0041_alter_checks_add_started_ended.down.sql fix: bump migration number (#977) 2024-01-20 00:03:08 +00:00
0041_alter_checks_add_started_ended.up.sql fix: change created to be bigint (#978) 2024-01-20 04:38:01 +00:00
0042_drop_table_reqchecks.down.sql [MISC] Move UID to Identifier to match Harness Standards (#992) 2024-01-29 23:29:53 +00:00
0042_drop_table_reqchecks.up.sql [MISC] Move UID to Identifier to match Harness Standards (#992) 2024-01-29 23:29:53 +00:00
0043_alter_table_rules.down.sql [MISC] Move UID to Identifier to match Harness Standards (#992) 2024-01-29 23:29:53 +00:00
0043_alter_table_rules.up.sql [MISC] Move UID to Identifier to match Harness Standards (#992) 2024-01-29 23:29:53 +00:00
0044_alter_table_tokens.down.sql [MISC] Move UID to Identifier to match Harness Standards (#992) 2024-01-29 23:29:53 +00:00
0044_alter_table_tokens.up.sql [MISC] Move UID to Identifier to match Harness Standards (#992) 2024-01-29 23:29:53 +00:00
0045_alter_table_repo_add_deletetimestamp.down.sql Support soft delete, restore and purge repos plus a cleanup job for old deleted repos (#1005) 2024-02-14 01:39:39 +00:00
0045_alter_table_repo_add_deletetimestamp.up.sql Support soft delete, restore and purge repos plus a cleanup job for old deleted repos (#1005) 2024-02-14 01:39:39 +00:00
0046_alter_table_spaces_add_deletetimestamp.down.sql Support Space Soft Delete, Restore, and Purge (#1076) 2024-03-21 23:34:19 +00:00
0046_alter_table_spaces_add_deletetimestamp.up.sql Support Space Soft Delete, Restore, and Purge (#1076) 2024-03-21 23:34:19 +00:00
0047_create_table_settings.down.sql Adding Repo Level Settings (#1145) 2024-03-28 03:36:15 +00:00
0047_create_table_settings.up.sql Adding Repo Level Settings (#1145) 2024-03-28 03:36:15 +00:00
0048_alter_table_repo_add_isempty.down.sql Update default branch on empty repo for first commit (#1122) 2024-04-04 01:16:43 +00:00
0048_alter_table_repo_add_isempty.up.sql Update default branch on empty repo for first commit (#1122) 2024-04-04 01:16:43 +00:00
0049_alter_table_pullreq_add_closed.down.sql Add closed timestamp to pull req (#1222) 2024-04-17 20:24:04 +00:00
0049_alter_table_pullreq_add_closed.up.sql Add closed timestamp to pull req (#1222) 2024-04-17 20:24:04 +00:00
0050_create_table_public_resources.down.sql Support Public Access (#2021) 2024-05-23 04:56:26 +00:00
0050_create_table_public_resources.up.sql Support Public Access (#2021) 2024-05-23 04:56:26 +00:00
0051_create_table_public_key.down.sql fix 0051_create_table_public_key.down migration (#2494) 2024-08-13 21:03:47 +00:00
0051_create_table_public_key.up.sql ssh public keys: db and api (#2058) 2024-05-27 14:26:21 +00:00
0052_create_cde_tables.down.sql feat: [CDE-62]: Introducing changes related to Gitspaces in Gitness (#2072) 2024-05-29 09:37:35 +00:00
0052_create_cde_tables.up.sql Adding commands to alter cde tables (#2085) 2024-06-10 13:27:21 +00:00
0053_alter_cde_tables.down.sql Changing names to display names and replacing default unique constraints with named unique indexes (#2098) 2024-06-17 06:25:55 +00:00
0053_alter_cde_tables.up.sql Changing names to display names and replacing default unique constraints with named unique indexes (#2098) 2024-06-17 06:25:55 +00:00
0054_alter_cde_tables_change_name_and_indexes.down.sql Changing names to display names and replacing default unique constraints with named unique indexes (#2098) 2024-06-17 06:25:55 +00:00
0054_alter_cde_tables_change_name_and_indexes.up.sql Changing names to display names and replacing default unique constraints with named unique indexes (#2098) 2024-06-17 06:25:55 +00:00
0055_alter_cde_tables_events_and_gitspaces.down.sql Updating events and gitspaces tables (#2115) 2024-06-17 12:06:05 +00:00
0055_alter_cde_tables_events_and_gitspaces.up.sql Updating events and gitspaces tables (#2115) 2024-06-17 12:06:05 +00:00
0056_alter_table_gitspace_configs_add_soft_delete.down.sql Adding soft delete to gitspace_configs table (#2125) 2024-06-19 08:42:41 +00:00
0056_alter_table_gitspace_configs_add_soft_delete.up.sql Adding soft delete to gitspace_configs table (#2125) 2024-06-19 08:42:41 +00:00
0057_alter_repositories_add_state.down.sql pull request import (#2121) 2024-07-06 00:46:36 +00:00
0057_alter_repositories_add_state.up.sql pull request import (#2121) 2024-07-06 00:46:36 +00:00
0058_alter_cde_infraprovisioned_down.sql add migration to add columns in infra_provisioned table (#2154) 2024-07-10 13:35:50 +00:00
0058_alter_cde_infraprovisioned_up.sql add migration to add columns in infra_provisioned table (#2154) 2024-07-10 13:35:50 +00:00
0059_alter_pullreqs_add_additions_deletions.down.sql Add additions and deletions to PRs (#2196) 2024-07-11 10:01:17 +00:00
0059_alter_pullreqs_add_additions_deletions.up.sql Add additions and deletions to PRs (#2196) 2024-07-11 10:01:17 +00:00
0059_alter_table_gitspace_events_add_timestamp_rename_uid.down.sql feat: [CDE-140]: Adding docker machine host name config to identify the public host name on which the docker host is running. Updated the docker config to read from the default docker env variables if config values are not set. Updated the events timestamp to use nanoseconds. Fixed the working directory response and cleaned the logic of how the gitspace instance url is generated. Updated the scm service to parse repo name in a provider agnostic manner. (#2201) 2024-07-13 04:35:20 +00:00
0059_alter_table_gitspace_events_add_timestamp_rename_uid.up.sql feat: [CDE-140]: Adding docker machine host name config to identify the public host name on which the docker host is running. Updated the docker config to read from the default docker env variables if config values are not set. Updated the events timestamp to use nanoseconds. Fixed the working directory response and cleaned the logic of how the gitspace instance url is generated. Updated the scm service to parse repo name in a provider agnostic manner. (#2201) 2024-07-13 04:35:20 +00:00
0060_create_table_labels.down.sql Add label feature (#2073) 2024-07-25 14:57:56 +00:00
0060_create_table_labels.up.sql Add label feature (#2073) 2024-07-25 14:57:56 +00:00
0061_alter_cde_tables_gitspace_configs_add_coderef.down.sql feat: [CDE-240]: Drop gitspace data in down migration. (#2503) 2024-08-14 07:09:38 +00:00
0061_alter_cde_tables_gitspace_configs_add_coderef.up.sql feat: [CDE-195]: gitness use repo ref (#2336) 2024-07-31 14:30:09 +00:00
0062_create_cde_delegate_provision_tables.down.sql feat: [CDE-212]: Add migration for new table ovh_task_details (#2428) 2024-08-08 10:50:05 +00:00
0062_create_cde_delegate_provision_tables.up.sql feat: [CDE-212]: Add migration for new table ovh_task_details (#2428) 2024-08-08 10:50:05 +00:00
0063_alter_infra_provisioned_drop_template.down.sql feat: [CDE-226]: Migrations to drop iprov_opentofu_template column. (#2444) 2024-08-09 07:34:07 +00:00
0063_alter_infra_provisioned_drop_template.up.sql feat: [CDE-226]: Migrations to drop iprov_opentofu_template column. (#2444) 2024-08-09 07:34:07 +00:00
0064_alter_delegate_provision_modify_column.down.sql feat: [CDE-217]: Migration: Fix column and constraint (#2458) 2024-08-10 07:00:07 +00:00
0064_alter_delegate_provision_modify_column.up.sql feat: [CDE-217]: auto increment id (#2463) 2024-08-11 06:15:37 +00:00
0065_alter_gitspace_config_add_ssh_identifier.down.sql feat: [CDE-177]: Update listing page for CDE (#2506) 2024-08-16 06:46:02 +00:00
0065_alter_gitspace_config_add_ssh_identifier.up.sql feat: [CDE-177]: Update listing page for CDE (#2506) 2024-08-16 06:46:02 +00:00
0066_alter_gitspace_config_add_created_by.down.sql feat: [CDE-192]: show user info for gitspace listing. (#2531) 2024-08-20 09:34:10 +00:00
0066_alter_gitspace_config_add_created_by.up.sql feat: [CDE-192]: show user info for gitspace listing. (#2531) 2024-08-20 09:34:10 +00:00
0067_create_ar_tables.down.sql feat: [AH-260]: add migration scripts for AR (#2572) 2024-08-22 21:41:22 +00:00
0067_create_ar_tables.up.sql feat: [AH-260]: add migration scripts for AR (#2572) 2024-08-22 21:41:22 +00:00
0068_create_table_usergroups.down.sql feat: [CODE-1941]: update db migration serials (#2588) 2024-08-26 15:52:11 +00:00
0068_create_table_usergroups.up.sql feat: [CODE-1941]: update db migration serials (#2588) 2024-08-26 15:52:11 +00:00
0069_create_table_usergroup_reviewers.down.sql feat: [CODE-1941]: update db migration serials (#2588) 2024-08-26 15:52:11 +00:00
0069_create_table_usergroup_reviewers.up.sql feat: [CODE-1941]: update db migration serials (#2588) 2024-08-26 15:52:11 +00:00
0070_drop_index_upstream_proxy_configs.down.sql [AH-310]: Updated secret flows so removing foreign key constraints (#2618) 2024-09-06 20:48:12 +00:00
0070_drop_index_upstream_proxy_configs.up.sql [AH-310]: Updated secret flows so removing foreign key constraints (#2618) 2024-09-06 20:48:12 +00:00
0071_alter_infra_provider_resource_drop_gateway.down.sql rename migration files (#2673) 2024-09-09 08:42:43 +00:00
0071_alter_infra_provider_resource_drop_gateway.up.sql rename migration files (#2673) 2024-09-09 08:42:43 +00:00
0072_create_ar_table_images_and_alter_table_artifacts.down.sql fix: [AH-357]: migrations (#2709) 2024-09-19 17:18:13 +00:00
0072_create_ar_table_images_and_alter_table_artifacts.up.sql fix: [AH-357]: migrations (#2709) 2024-09-19 17:18:13 +00:00
0073_create_ar_table_bandwidth_stats_and_download_stats.down.sql fix: [AH-357]: migrations (#2709) 2024-09-19 17:18:13 +00:00
0073_create_ar_table_bandwidth_stats_and_download_stats.up.sql fix: [AH-357]: migrations (#2709) 2024-09-19 17:18:13 +00:00
0074_create_table_connectors.down.sql feat: [CI-14316]: Connectors support in gitness (#2699) 2024-09-18 13:24:48 +00:00
0074_create_table_connectors.up.sql feat: [CI-14316]: Connectors support in gitness (#2699) 2024-09-18 13:24:48 +00:00
0075_create_table_sys_config.down.sql feat: [CODE-2364]: Add uinque install id to segment events (#2694) 2024-09-23 12:08:39 +00:00
0075_create_table_sys_config.up.sql feat: [CODE-2364]: Add uinque install id to segment events (#2694) 2024-09-23 12:08:39 +00:00
0076_oci_image_index_mapping.down.sql feat: [AH-231]: Upstream features (#2733) 2024-09-25 05:08:26 +00:00
0076_oci_image_index_mapping.up.sql feat: [AH-231]: Upstream features (#2733) 2024-09-25 05:08:26 +00:00
0077_alter_gitspace_instance_add_heartbeat.down.sql feat: [CDE-336]: update heartbeat for gitspace instance (#2742) 2024-09-26 08:27:34 +00:00
0077_alter_gitspace_instance_add_heartbeat.up.sql feat: [CDE-336]: update heartbeat for gitspace instance (#2742) 2024-09-26 08:27:34 +00:00
0078_alter_gitspaces_add_active_time.down.sql feat: [CDE-350]: Adding columns for active time start and end in gitspace table. (#2744) 2024-09-26 10:35:42 +00:00
0078_alter_gitspaces_add_active_time.up.sql feat: [CDE-350]: Adding columns for active time start and end in gitspace table. (#2744) 2024-09-26 10:35:42 +00:00
0079_alter_gitspaces_add_has_git_changes.down.sql feat: [CDE-358]: Adding has_git_changes field to gitspace instance db and API. (#2768) 2024-10-03 16:55:07 +00:00
0079_alter_gitspaces_add_has_git_changes.up.sql feat: [CDE-358]: Adding has_git_changes field to gitspace instance db and API. (#2768) 2024-10-03 16:55:07 +00:00
0080_alter_table_pullreq_add_rebaseability.down.sql feat: [CODE-1474]: add check PR rebaseability (#2763) 2024-10-04 12:36:32 +00:00
0080_alter_table_pullreq_add_rebaseability.up.sql feat: [CODE-1474]: add check PR rebaseability (#2763) 2024-10-04 12:36:32 +00:00
0081_alter_table_gitspace_configs_add_can_delete.down.sql fix: [CDE-390]:add sql migration for gitspace config table (#2836) 2024-10-21 10:55:39 +00:00
0081_alter_table_gitspace_configs_add_can_delete.up.sql fix: [CDE-390]:add sql migration for gitspace config table (#2836) 2024-10-21 10:55:39 +00:00
0082_alter_table_gitspace_configs_add_is_marked_delete.down.sql fix: [CDE-390]:add sql migration for gitspace config table (#2836) 2024-10-21 10:55:39 +00:00
0082_alter_table_gitspace_configs_add_is_marked_delete.up.sql fix: [CDE-390]:add sql migration for gitspace config table (#2836) 2024-10-21 10:55:39 +00:00
0083_update_table_gitspace_configs.down.sql fix: [CDE-424]:add migration for gitspace_configs table (#2878) 2024-10-28 12:43:09 +00:00
0083_update_table_gitspace_configs.up.sql fix: [CDE-424]:add migration for gitspace_configs table (#2878) 2024-10-28 12:43:09 +00:00
0084_update_table_gitspaces_infra.down.sql fix: [CDE-462]:add migration script (#2947) 2024-11-07 13:33:25 +00:00
0084_update_table_gitspaces_infra.up.sql fix: [CDE-462]:add migration script (#2947) 2024-11-07 13:33:25 +00:00
0085_alter_gitspaces_add_error_message.down.sql feat: [CDE-430]: Providing a user friendly error message whenever an instance goes to error state. (#2977) 2024-11-12 05:58:28 +00:00
0085_alter_gitspaces_add_error_message.up.sql feat: [CDE-430]: Providing a user friendly error message whenever an instance goes to error state. (#2977) 2024-11-12 05:58:28 +00:00
0086_create_idx_gc.down.sql fix: [AH-585]: add index to improve query performance found during load testing (#2982) 2024-11-12 13:18:42 +00:00
0086_create_idx_gc.up.sql fix: [AH-585]: add index to improve query performance found during load testing (#2982) 2024-11-12 13:18:42 +00:00
0087_create_idx_reg.down.sql feat: [AH-658]: perform various query optimizations to improve docker pull and other operations (#2994) 2024-11-13 21:45:08 +00:00
0087_create_idx_reg.up.sql feat: [AH-658]: perform various query optimizations to improve docker pull and other operations (#2994) 2024-11-13 21:45:08 +00:00
0088_alter_rules_add_scope.down.sql fix: [CODE-2846]: Add scope info to rule (#3045) 2024-11-25 17:43:21 +00:00
0088_alter_rules_add_scope.up.sql fix: [CODE-2846]: Add scope info to rule (#3045) 2024-11-25 17:43:21 +00:00
0089_alter_webhooks_add_scope.down.sql feat: [CODE-2854]: Add scope info to webhooks (#3050) 2024-11-26 22:16:10 +00:00
0089_alter_webhooks_add_scope.up.sql feat: [CODE-2854]: Add scope info to webhooks (#3050) 2024-11-26 22:16:10 +00:00
0090_alter_webhooks_add_type.down.sql feat: [CODE-2885]: support for webhook type (#3098) 2024-12-05 02:01:08 +00:00
0090_alter_webhooks_add_type.up.sql feat: [CODE-2885]: support for webhook type (#3098) 2024-12-05 02:01:08 +00:00
0091_create_usage_table.down.sql feat: [code-2912]: db layer for usage metrics (#3159) 2024-12-13 21:17:28 +00:00
0091_create_usage_table.up.sql feat: [code-2912]: db layer for usage metrics (#3159) 2024-12-13 21:17:28 +00:00
0092_create_ar_file_manager_tables.down.sql feat:[AH-628]: File manager framework DB migration and objects (#3207) 2024-12-30 11:09:06 +00:00
0092_create_ar_file_manager_tables.up.sql feat:[AH-628]: migration fix for file manager (#3219) 2025-01-03 09:16:23 +00:00
0093_alter_table_upstream_proxy_configs_add_username_secret_identifier.down.sql [feat]: [AH-724]: ECR upstream proxy support (#3181) 2025-01-06 07:59:59 +00:00
0093_alter_table_upstream_proxy_configs_add_username_secret_identifier.up.sql [feat]: [AH-724]: ECR upstream proxy support (#3181) 2025-01-06 07:59:59 +00:00
0094_alter_table_usergroups_add_scope.down.sql feat: [CODE-2573]: add scope in type for usergroupinfo (#3241) 2025-01-10 21:20:55 +00:00
0094_alter_table_usergroups_add_scope.up.sql feat: [CODE-2573]: add scope in type for usergroupinfo (#3241) 2025-01-10 21:20:55 +00:00
0095_update_foreign_key_manifest_references.down.sql fix: [AH-831]: Updated Error Message for Upstream Delete Fail (#3272) 2025-01-15 12:30:13 +00:00
0095_update_foreign_key_manifest_references.up.sql fix: [AH-831]: Updated Error Message for Upstream Delete Fail (#3272) 2025-01-15 12:30:13 +00:00
0096_update_fk_manifest_references_gc.down.sql fix: [AH-831]: Updated Error Message for Upstream Delete Fail (#3272) 2025-01-15 12:30:13 +00:00
0096_update_fk_manifest_references_gc.up.sql fix: [AH-831]: Updated Error Message for Upstream Delete Fail (#3272) 2025-01-15 12:30:13 +00:00
0097_update_ar_generic_artiface_tables.up.sql feat:[AH-628]: Add queries for node and generic blob tables (#3295) 2025-01-21 11:25:54 +00:00
0097_update_ar_generic_artifact_tables.down.sql feat:[AH-628]: Add queries for node and generic blob tables (#3295) 2025-01-21 11:25:54 +00:00
0098_create_registry_webhooks_tables.down.sql feat: [AH-396]: webhook support (#2778) 2025-01-23 17:22:35 +00:00
0098_create_registry_webhooks_tables.up.sql feat: [AH-396]: webhook support (#2778) 2025-01-23 17:22:35 +00:00
0099_alter_repositories_add_last_updated.down.sql feat: [CODE-2693]: Add backend support to track time of last push. (#3320) 2025-01-27 22:03:35 +00:00
0099_alter_repositories_add_last_updated.up.sql feat: [CODE-2693]: Add backend support to track time of last push. (#3320) 2025-01-27 22:03:35 +00:00