Sha256: f8eab81cb9b0692351e2347c3517190467f31256596f1d06ab99a90146f8f529

Contents?: true

Size: 156 Bytes

Versions: 8

Compression:

Stored size: 156 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
embedded_associations-4.1.2 spec/support/app/db/migrate/20130226001639_create_categories.rb
embedded_associations-4.1.1 spec/support/app/db/migrate/20130226001639_create_categories.rb
embedded_associations-4.1.0 spec/support/app/db/migrate/20130226001639_create_categories.rb
embedded_associations-4.0.0 spec/support/app/db/migrate/20130226001639_create_categories.rb
embedded_associations-0.0.4 spec/support/app/db/migrate/20130226001639_create_categories.rb
embedded_associations-0.0.3 spec/support/app/db/migrate/20130226001639_create_categories.rb
embedded_associations-0.0.2 spec/support/app/db/migrate/20130226001639_create_categories.rb
embedded_associations-0.0.1 spec/support/app/db/migrate/20130226001639_create_categories.rb