Sha256: a271e7448474b56af972239eb00c845fffe6daa0b1c8a1f584b88e805cf73d00

Contents?: true

Size: 545 Bytes

Versions: 23

Compression:

Stored size: 545 Bytes

Contents

class CreateC80YaxItems < ActiveRecord::Migration
  def change
    create_table :c80_yax_items do |t|
      t.string :title
      t.string :slug
      t.string :image
      t.text :short_desc
      t.text :full_desc
      t.boolean :is_hit
      t.boolean :is_sale
      t.boolean :is_main
      t.boolean :is_gift
      t.boolean :is_starting
      t.boolean :is_available
      t.boolean :is_ask_price
      t.references :strsubcat, index: true
      t.references :related_parent, index: true

      t.timestamps null: false
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
c80_yax-0.1.0.25 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.24 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.23 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.22 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.21 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.20 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.18 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.17 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.16 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.15 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.14 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.13 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.12 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.11 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.10 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.9 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.8 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.7 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.6 db/migrate/20161030225354_create_c80_yax_items.rb
c80_yax-0.1.0.5 db/migrate/20161030225354_create_c80_yax_items.rb