Add force_full_reconciliation field to workspaces
What does this MR do and why?
Add force_full_reconciliation field to workspaces
This field will be used to force a full reconcilation between the Kubernetes workspace and rails database.
Related to #424514 (closed)
Migration
$ bin/rails db:migrate:up:main VERSION=20230907162613 RAILS_ENV=development
main: == [advisory_lock_connection] object_id: 225940, pg_backend_pid: 1851379
main: == 20230907162613 AddForceFullReconciliationToWorkspaces: migrating ===========
main: -- add_column(:workspaces, :force_full_reconciliation, :boolean, {:default=>false, :null=>false})
main: -> 0.0020s
main: == 20230907162613 AddForceFullReconciliationToWorkspaces: migrated (0.0050s) ==
main: == [advisory_lock_connection] object_id: 225940, pg_backend_pid: 1851379
$ bin/rails db:migrate:down:main VERSION=20230907162613 RAILS_ENV=development
main: == [advisory_lock_connection] object_id: 226000, pg_backend_pid: 1852161
main: == 20230907162613 AddForceFullReconciliationToWorkspaces: reverting ===========
main: -- remove_column(:workspaces, :force_full_reconciliation, :boolean, {:default=>false, :null=>false})
main: -> 0.0012s
main: == 20230907162613 AddForceFullReconciliationToWorkspaces: reverted (0.0053s) ==
How to set up and validate locally
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Alper Akgun