Sha256: b9ace2dc747cd8ee71dfa86735bff4e94229fd91d7881a90f99479bc163351ef

Contents?: true

Size: 320 Bytes

Versions: 4

Compression:

Stored size: 320 Bytes

Contents

class CreateDqAdminProducts < ActiveRecord::Migration["#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"]
  def change
    create_table :dq_admin_products do |t|
      t.string :name
      t.string :description
      t.integer :price
      t.string :buy_link
      t.string :image

      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dq_admin-0.4.3 db/migrate/20180318070651_create_dq_admin_products.rb
dq_admin-0.4.2 db/migrate/20180318070651_create_dq_admin_products.rb
dq_admin-0.4.0 db/migrate/20180318070651_create_dq_admin_products.rb
dq_admin-0.3.0 db/migrate/20180318070651_create_dq_admin_products.rb