instiki/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/USAGE

11 lines
378 B
Plaintext
Raw Normal View History

2007-01-22 14:43:50 +01:00
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.
2007-01-22 14:43:50 +01:00
Example:
`./script/generate session_migration CreateSessionTable`
2007-01-22 14:43:50 +01:00
With 4 existing migrations, this creates the AddSessionTable migration
in db/migrate/005_add_session_table.rb