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

18 lines
372 B
Ruby

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