mirror of
https://github.com/harness/drone.git
synced 2025-05-11 06:30:06 +08:00
![]() This change is a follow up on the effort to remove transactions and sync stores from the database layer, and move them in the application layer. It is addressing the repo + space store. The following changes are included: - Introduce PathStore storing resource paths (repo + space) - Add foreign key from path.repo_id/space_id to repo.id/space.id - Add foreign key from repo/space.parent_id to space.id - Remove repo_sync and space_sync - Move path creation logic to repo/space controller (for both creating primary paths for new repos/spaces, as well as creating alias spaces) - Reimplement repo/space moving on controller layer |
||
---|---|---|
.. | ||
0000_create_extension_btree.up.sql | ||
0000_create_extension_citext.up.sql | ||
0000_create_extension_trgm.up.sql | ||
0001_create_table_paths.up.sql | ||
0001_create_table_principals.up.sql | ||
0001_create_table_repositories.up.sql | ||
0001_create_table_spaces.up.sql | ||
0001_create_table_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.up.sql |