Sha256: ee583b9ac2f799b7527a15b2230bc9f04f68fe3b9eefe00bc8ef355328e06f29

Contents?: true

Size: 229 Bytes

Versions: 5

Compression:

Stored size: 229 Bytes

Contents

class CreateTaxonomies < ActiveRecord::Migration
  def self.up
    create_table :taxonomies do |t|
      t.string :name
      t.string :type

      t.timestamps
    end
  end

  def self.down
    drop_table :taxonomies
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/db/migrate/20120621135042_create_taxonomies.rb
foreman_discovery-1.0.0.rc4 test/foreman_app/db/migrate/20120621135042_create_taxonomies.rb
foreman_discovery-1.0.0.rc3 test/foreman_app/db/migrate/20120621135042_create_taxonomies.rb
foreman_discovery-1.0.0.rc2 test/foreman_app/db/migrate/20120621135042_create_taxonomies.rb
foreman_discovery-1.0.0.rc1 test/foreman_app/db/migrate/20120621135042_create_taxonomies.rb