Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Database Migrations

Stephen Yeargin edited this page Aug 12, 2014 · 1 revision

Running Database Migrations

Migrations are found in db/migrate/ and can be processed using the standard rake db:migrate command. Use the rails generate migration AddColumnToSomeTable to generate a new migration. See the Rails documentation for more details.

If you completely hose your local database, run rake db:reset && rake db:seed to clean it up and start over. You may have to manually add your admin user back through the rails console.

Clone this wiki locally