Sha256: 213ef6bb89fa122a9f534c0ec50f61107d780ba69b5d31c5e967bb3545f269e3

Contents?: true

Size: 184 Bytes

Versions: 7

Compression:

Stored size: 184 Bytes

Contents

class CreateCategories < ActiveRecord::Migration
  def change
    create_table :categories do |t|
      t.string :name
      t.integer :parent_id

      t.timestamps
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
token_field-2.0.0 spec/dummy/db/migrate/20121012100526_create_categories.rb
token_field-1.1.0 spec/dummy/db/migrate/20121012100526_create_categories.rb
token_field-1.0.1 spec/dummy/db/migrate/20121012100526_create_categories.rb
token_field-1.0.0 spec/dummy/db/migrate/20121012100526_create_categories.rb
token_field-0.0.3 spec/dummy/db/migrate/20121012100526_create_categories.rb
token_field-0.0.2 spec/dummy/db/migrate/20121012100526_create_categories.rb
token_field-0.0.1 spec/dummy/db/migrate/20121012100526_create_categories.rb