mirror of
https://github.com/github/rails.git
synced 2026-01-31 01:08:19 -05:00
Follow our own conventions (closes #6506) [packagethief]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7603 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -255,7 +255,7 @@ namespace :db do
|
||||
raise "Task unavailable to this database (no migration support)" unless ActiveRecord::Base.connection.supports_migrations?
|
||||
require 'rails_generator'
|
||||
require 'rails_generator/scripts/generate'
|
||||
Rails::Generator::Scripts::Generate.new.run(["session_migration", ENV["MIGRATION"] || "AddSessions"])
|
||||
Rails::Generator::Scripts::Generate.new.run(["session_migration", ENV["MIGRATION"] || "CreateSessions"])
|
||||
end
|
||||
|
||||
desc "Clear the sessions table"
|
||||
|
||||
Reference in New Issue
Block a user