Concept Flow - Schema.rb understanding
Run migration
Update database structure
Rails generates schema.rb
schema.rb reflects current DB schema
Use schema.rb to recreate DB structure
This flow shows how running migrations updates the database and then Rails creates schema.rb to represent the current database structure.