Sha256: 186ccf53ad2d39fb4dabe51661948876e0d57ef179fc1fa0dd9cde29dd414516

Contents?: true

Size: 183 Bytes

Versions: 9

Compression:

Stored size: 183 Bytes

Contents

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

      t.timestamps
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
activeadmin-axlsx-2.1.2 spec/rails/rails-3.2.9/db/migrate/20130602172729_create_categories.rb
simple_resource-0.6.1 spec/dummy/db/migrate/20120920161043_create_categories.rb
simple_resource-0.6.0 spec/dummy/db/migrate/20120920161043_create_categories.rb
simple_resource-0.5.0 spec/dummy/db/migrate/20120920161043_create_categories.rb
simple_resource-0.4.0 spec/dummy/db/migrate/20120920161043_create_categories.rb
simple_resource-0.3.0 spec/dummy/db/migrate/20120920161043_create_categories.rb
simple_resource-0.2.0 spec/dummy/db/migrate/20120920161043_create_categories.rb
activeadmin-axlsx-1.0.0a spec/rails/rails-3.2.8/db/migrate/20121103000635_create_categories.rb
simple_resource-0.1.0 spec/dummy/db/migrate/20120920161043_create_categories.rb