drone/app/store/database/migrate/postgres
Dhruv Dhruv b9d3bb4d2b 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)
* feat: [CDE-140]: Fixing ProvideGitspaceContainerOrchestratorConfig.
* feat: [CDE-140]: Fixing ProvideGitspaceContainerOrchestratorConfig.
* feat: [CDE-140]: Addressing review comments.
* feat: [CDE-140]: Reverting changes done for docker config default values. Adding default value of GITNESS_GITSPACE_DEFAULT_BIND_MOUNT_SOURCE_BASE_PATH and GITNESS_DOCKER_HOST to Dockerfile. Adding new column in gitspace_events table for storing event timestamp in nanoseconds and corresponding migrations.
* Lingting.
* 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.
2024-07-13 04:35:20 +00:00
..
0000_create_extension_btree.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0000_create_extension_citext.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0000_create_extension_trgm.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0001_create_table_a_principals.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0001_create_table_b_spaces.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0001_create_table_c_repositories.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0001_create_table_d_paths.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0001_create_table_e_tokens.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0002_create_index_paths_repo_id_is_primary.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0002_create_index_paths_space_id_is_primary.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0002_create_index_principals_lower_email.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0002_create_index_principals_sa_parent_id_sa_parent_type.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0002_create_index_repositories_parent_id.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0002_create_index_spaces_parent_id.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0002_create_index_tokens_principal_id.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0003_create_table_pullreqs.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0004_create_index_pullreqs_source_repo_branch_target_repo_branch.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0004_create_index_pullreqs_target_repo_id_number.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0005_create_table_pullreq_activities.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0006_create_index_pullreq_activities_pullreq_id_order_sub_order.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0007_create_table_webhooks.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0008_create_index_webhooks_repo_id.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0008_create_index_webhooks_space_id.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0009_create_table_webhook_executions.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0010_create_index_webhook_executions_webhook_id.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0011_create_table_pullreq_reviews.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0012_create_index_pullreq_reviews_pullreq_id.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0013_create_table_pullreq_reviewers.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0013_create_table_pullreq_reviewers.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0014_alter_pullreq_activity_code_comments.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0014_alter_pullreq_activity_code_comments.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0015_alter_pullreq_merge_base_not_nullable.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0015_alter_pullreq_merge_base_not_nullable.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0016_alter_pullreq_add_unresolved.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0016_alter_pullreq_add_unresolved.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0017_create_table_checks.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0017_create_table_checks.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0018_alter_check_add_payload_version.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0018_alter_check_add_payload_version.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0019_create_table_memberships.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0019_create_table_memberships.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0020_alter_pullreq_source_repo_id_constraint.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0020_alter_pullreq_source_repo_id_constraint.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0021_alter_table_webhook_add_internal_down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0021_alter_table_webhook_add_internal_up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0022_create_table_jobs.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0022_create_table_jobs.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0023_index_jobs_last_executed.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0023_index_jobs_last_executed.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0024_alter_repo_add_importing.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0024_alter_repo_add_importing.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0025_alter_table_job_add_group_id.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0025_alter_table_job_add_group_id.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0026_alter_repo_drop_job_id.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0026_alter_repo_drop_join_id.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0027_create_ci_tables.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0027_create_ci_tables.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0028_alter_token_drop_grants.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0028_alter_token_drop_grants.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0029_create_index_job_job_group_id_down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0029_create_index_job_job_group_id_up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0030_create_table_space_paths.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0030_create_table_space_paths.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0031_alter_index_repositories.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0031_alter_index_repositories.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0032_create_table_pullreq_file_views.down.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0032_create_table_pullreq_file_views.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0033_alter_ci_tables.up.sql remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00
0034_create_index_webhook_executions_created.down.sql [MISC] Cleanup stale Webhook-Executions & Session Tokens (#640) 2023-10-03 17:54:18 +00:00
0034_create_index_webhook_executions_created.up.sql [MISC] Cleanup stale Webhook-Executions & Session Tokens (#640) 2023-10-03 17:54:18 +00:00
0035_create_index_tokens_type_expires_at.down.sql [MISC] Cleanup stale Webhook-Executions & Session Tokens (#640) 2023-10-03 17:54:18 +00:00
0035_create_index_tokens_type_expires_at.up.sql [MISC] Cleanup stale Webhook-Executions & Session Tokens (#640) 2023-10-03 17:54:18 +00:00
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 soft delete improvements and bug fixes (#1044) 2024-02-15 01:32:59 +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 ssh public keys: db and api (#2058) 2024-05-27 14:26:21 +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 fix: [CDE-62]: Adding gitspaces FK post table creation in infra_provisioned table in postgres (#2084) 2024-06-07 13:37:46 +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 Adding commands to alter cde tables (#2085) 2024-06-10 13:27:21 +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