Skip to content

Adds CatalogResources table

Laura Montemayor requested to merge create-ci_component_repositories-table into master

What does this MR do and why?

This is part of the issue to Build a service to publish a CI components repository. In this MR, we are creating the basic structure for the CatalogResources table.

Up

main: == 20230220163141 CreateCatalogResourcesTable: migrating ======================
main: -- create_table(:catalog_resources)
main:    -> 0.0142s
main: == 20230220163141 CreateCatalogResourcesTable: migrated (0.0613s) =============

ci: == 20230220163141 CreateCatalogResourcesTable: migrating ======================
ci: -- create_table(:catalog_resources)
ci:    -> 0.0121s
I, [2023-02-23T15:57:27.120324 #90560]  INFO -- : Database: 'ci', Table: 'catalog_resources': Lock Writes
ci: == 20230220163141 CreateCatalogResourcesTable: migrated (0.0227s) =============

Down

main: == 20230220163141 CreateCatalogResourcesTable: reverting ======================
main: -- drop_table(:catalog_resources)
main:    -> 0.0026s
main: == 20230220163141 CreateCatalogResourcesTable: reverted (0.0073s) =============

ci: == 20230220163141 CreateCatalogResourcesTable: reverting ======================
ci: -- drop_table(:catalog_resources)
ci:    -> 0.0021s
ci: == 20230220163141 CreateCatalogResourcesTable: reverted (0.0109s) =============

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Laura Montemayor

Merge request reports

Loading