Description: The sql_session_store generator creates a migration for use with the sql session store. It takes one argument: the database type. Only mysql and postgreql are currently supported. Example: ./script/generate sql_session_store mysql This will create the following migration: db/migrate/XXX_add_sql_session.rb Use ./script/generate sql_session_store postgreql to get a migration for postgres.