appirits/comable

View on GitHub
core/db/migrate/20150111031228_create_comable_categories.rb

Summary

Maintainability
A
0 mins
Test Coverage
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