lib/generators/buildybuild/cms/templates/cms_migration.rb in buildybuild-0.0.1 vs lib/generators/buildybuild/cms/templates/cms_migration.rb in buildybuild-1.0.0
- old
+ new
@@ -1,7 +1,7 @@
class Create<%= klasses %> < ActiveRecord::Migration
def change
- create_table :<%= klasses %> do |t|
+ create_table :<%= table_name %> do |t|
t.string :name
t.string :slug
t.text :body
t.timestamps