mmsc_app/migrations/01010_create_quote_contents.rb
Nicolas Bally a6aa1f6074 Initial
2020-05-25 11:40:11 +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