aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/generators/components/session_migration/USAGE
blob: 87117a3cb6646b21c7f570036fa63c1890132e63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
Description:
    Creates a migration to add the sessions table used by the Active Record
    session store. Pass the migration name, either CamelCased or under_scored,
    as an argument.

Example:
    `./script/generate session_migration CreateSessionTable`

    With 4 existing migrations, this creates the AddSessionTable migration
    in db/migrate/005_add_session_table.rb