Sha256: 1938c56558438c3de281a64a68468cc07abf56063c9151f36378ca4e1e05c368

Contents?: true

Size: 260 Bytes

Versions: 8

Compression:

Stored size: 260 Bytes

Contents

class CreateComableCategories < ActiveRecord::Migration
  def change
    create_table :comable_categories do |t|
      t.string :name, null: false
      t.string :ancestry, index: true
      t.integer :position
      t.timestamps null: false
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
comable-core-0.7.1 db/migrate/20150111031228_create_comable_categories.rb
comable-core-0.7.0 db/migrate/20150111031228_create_comable_categories.rb
comable-core-0.7.0.beta2 db/migrate/20150111031228_create_comable_categories.rb
comable-core-0.7.0.beta1 db/migrate/20150111031228_create_comable_categories.rb
comable-core-0.6.0 db/migrate/20150111031228_create_comable_categories.rb
comable_core-0.5.0 db/migrate/20150111031228_create_comable_categories.rb
comable_core-0.4.2 db/migrate/20150111031228_create_comable_categories.rb
comable_core-0.4.1 db/migrate/20150111031228_create_comable_categories.rb