ActiveRecord migrations

suggest change

ActiveRecord Migrations

Adding multiple columns to a table

Add a reference column to a table

Rollback migrations

Add a new column with an index

Run specific migration

Redo migrations

Remove an existing column from a table

Add a new column to a table

Create a new table

Running migrations

Running migrations in different environments

Add column with default value

Change an existing columns type

Create a hstore column

Add a self reference

Create a join table

Create an array column

Changing Tables

Checking migration status

Add an unique column to a table

Forbid null values

Adding a NOT NULL constraint to existing data

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents