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

16 lines
329 B
Ruby

class CreateQuotes < ActiveRecord::Migration
def change
create_table :quotes do |t|
t.text :quote
t.string :author
t.string :tag
t.string :tags_cache
t.string :tags_cache_slug
t.boolean :enabled
t.boolean :public_from
t.references :photo
t.timestamps
end
end
end