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