Skip to content

Commit

Permalink
fixing the migration generator
Browse files Browse the repository at this point in the history
  • Loading branch information
cainlevy committed Dec 28, 2007
1 parent b753687 commit 0e8a036
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def initialize(runtime_args, runtime_options = {})

def manifest
record do |m|
m.migration_template "migration.erb", "db/migrate", :migration_file_name => "create_subscription_and_plan"
m.migration_template "migration.rb", "db/migrate", :migration_file_name => "create_subscription_and_plan"
end
end
end
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class <%= migration_name %> < ActiveRecord::Migration
class CreateSubscriptionAndPlan < ActiveRecord::Migration
def self.up
create_table :subscription_plans, :force => true do |t|
t.column :name, :string, :null => false
Expand Down

0 comments on commit 0e8a036

Please sign in to comment.