Sha256: 9942e175f0be094f8d93ff8e7fd6ae395eba30488e5fad28139cb4b08a138f52

Contents?: true

Size: 197 Bytes

Versions: 10

Compression:

Stored size: 197 Bytes

Contents

class CreateCategories < ActiveRecord::Migration
  def self.up
    create_table :categories do |t|
      t.column :name, :string
    end
  end

  def self.down
    drop_table :categories
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
community_engine-3.2.0 db/migrate/018_create_categories.rb
community_engine-3.0.0 db/migrate/018_create_categories.rb
community_engine-2.3.2 db/migrate/018_create_categories.rb
community_engine-2.3.1 db/migrate/018_create_categories.rb
community_engine-2.3.0 db/migrate/018_create_categories.rb
community_engine-2.1.0 db/migrate/018_create_categories.rb
community_engine-2.0.0 db/migrate/018_create_categories.rb
community_engine-2.0.0.beta3 db/migrate/018_create_categories.rb
community_engine-2.0.0.beta2 db/migrate/018_create_categories.rb
community_engine-2.0.0.beta1 db/migrate/018_create_categories.rb