Rails:Migrations

From Klenwell Wiki
Revision as of 17:03, 27 October 2019 by Klenwell (talk | contribs) (Generate a Migration)
Jump to navigation Jump to search

Official Documentation

Schema Migrations

Generate a Migration

Generic

# rails g migration <name>
rails g migration CreateCruds

Data Migrations

What if you need to do a data migration or data fix on existing data?