basic_app/migrations/01010_create_quote_contents.rb
Nicolas Bally fd027c16c1 initial
2020-04-21 21:53:16 +02:00

15 lines
342 B
Ruby

class CreateQuoteContents < ActiveRecord::Migration[6.0]
def change
create_table :quote_contents do |t|
t.text :quote
t.string :author
t.string :color
t.string :background
t.string :style
t.references :image_file, index: true
t.timestamps
end
end
end