The ActiveRecord::Migration
class is used to manage Rails migration scripts. When writing these scripts, there are many class methods that can be used to make schema changes, which are described below in several sections.
Create Methods | Arguments | Notes | Rev |
---|---|---|---|
create_join_table | table1, table2, options | Creates a join table | Y |
create_table | name, options | Creates a table | Y |