site_perso_app/db/migrate/20130205223005_create_pages.rb
2013-02-07 11:44:54 +01:00

18 lines
355 B
Ruby

class CreatePages < ActiveRecord::Migration
def change
create_table :pages do |t|
t.string :title
t.string :slug
t.integer :page_type
t.text :description
t.text :keywords
t.text :markdown_content
t.text :html_content
t.text :haml_content
t.boolean :enabled
t.timestamps
end
end
end