lib/generators/feather_cms/templates/migration.rb in feather_cms-0.0.4 vs lib/generators/feather_cms/templates/migration.rb in feather_cms-0.0.5
- old
+ new
@@ -1,13 +1,12 @@
class CreateFeatherPages < ActiveRecord::Migration
def change
- create_table :feather_pages do |t|
+ create_table :feather_cms_pages do |t|
t.string :name
t.string :status, :default => 'draft'
- <% if @storage == 'db' %>
t.text :content
- <% end %>
t.string :layout, :default => 'application'
+ t.string :template_type, :default => 'html'
t.timestamps
end
end
end