GitHub - widefix/actual_db_schema: Wipe out inconsistent DB and schema.rb when switching branches.
23-Aug-2024 381
Does switching between branches in your Rails app mess up the DB schema?Keep the DB schema actual across branches in your Rails project. Just install actual_db_schema gem and run db:migrate in branches as usual. It automatically rolls back the phantom migrations (non-relevant to the current branch). No additional steps are needed. It works with both schema.rb and structure.sql.
GitHub - widefix/actual_db_schema: Wipe out inconsistent DB and schema.rb when switching branches. #ruby #rubydeveloper #rubyonrails #GitHub #widefix/actual_db_schema: #inconsistent #schema.rb #switching #branches. #branches. #db #github https://rubyonrails.ba/link/github-widefix-actual_db_schema-wipe-out-inconsistent-db-and-schema-rb-when-switching-branches