Sha256: add00afe46f17711f7273ab73e843503400479a647715b79a692c833bd29ba7d

Contents?: true

Size: 345 Bytes

Versions: 8

Compression:

Stored size: 345 Bytes

Contents

class C80CatoffersCreateCategories < ActiveRecord::Migration
  def change
    create_table :c80_catoffers_categories, :options => 'COLLATE=utf8_unicode_ci' do |t|
      t.integer :ord
      t.string :title
      t.string :slug
      t.references :parent_category, index: true
      t.text :desc

      t.timestamps null: false
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
c80_catoffers-0.1.0.8 db/migrate/201609221322_c80_catoffers_create_categories.rb
c80_catoffers-0.1.0.7 db/migrate/201609221322_c80_catoffers_create_categories.rb
c80_catoffers-0.1.0.6 db/migrate/201609221322_c80_catoffers_create_categories.rb
c80_catoffers-0.1.0.5 db/migrate/201609221322_c80_catoffers_create_categories.rb
c80_catoffers-0.1.0.4 db/migrate/201609221322_c80_catoffers_create_categories.rb
c80_catoffers-0.1.0.3 db/migrate/201609221322_c80_catoffers_create_categories.rb
c80_catoffers-0.1.0.2 db/migrate/201609221322_c80_catoffers_create_categories.rb
c80_catoffers-0.1.0.1 db/migrate/201609221322_c80_catoffers_create_categories.rb