danielle_app/db/migrate/20130707144152_create_portfolios.rb
2013-07-17 11:44:52 +02:00

14 lines
271 B
Ruby

class CreatePortfolios < ActiveRecord::Migration
def change
create_table :portfolios do |t|
t.string :title
t.string :slug
t.text :description
t.references :artwork, index: true
t.boolean :enabled
t.timestamps
end
end
end