Files
sx-fc/db/migrate/20180521041850_create_display_images.rb
2018-05-21 13:00:55 +06:30

13 lines
243 B
Ruby

class CreateDisplayImages < ActiveRecord::Migration[5.1]
def change
create_table :display_images do |t|
t.integer :shop_id
t.string :name
t.binary :image
t.string :created_by
t.timestamps
end
end
end