GitHub - widefix/actual_db_schema: Wipe out inconsistent DB and schema.rb when switching branches.

23-Aug-2024 311
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.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle