Sha256: d7ec76bb884cb5828df9c1b7e7d04236e48163f84aa4c8ea5804742e497faafd

Contents?: true

Size: 174 Bytes

Versions: 11

Compression:

Stored size: 174 Bytes

Contents

class AddValueTypes < ActiveRecord::Migration
  def self.up
    add_column :terms, :value_type, :string
  end

  def self.down
    remove_column :terms, :value_type
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
amee-data-persistence-2.3.0 lib/generators/persistence/templates/db/migrate/003_add_value_types.rb
amee-data-persistence-2.2.1 lib/generators/persistence/templates/db/migrate/003_add_value_types.rb
amee-data-persistence-2.2.0 lib/generators/persistence/templates/db/migrate/003_add_value_types.rb
amee-data-persistence-2.1.0 lib/generators/persistence/templates/db/migrate/003_add_value_types.rb
amee-data-persistence-1.2.0 generators/persistence/templates/db/migrate/003_add_value_types.rb
amee-data-persistence-2.0.3 lib/generators/persistence/templates/db/migrate/003_add_value_types.rb
amee-data-persistence-2.0.2 lib/generators/persistence/templates/db/migrate/003_add_value_types.rb
amee-data-persistence-2.0.1 lib/generators/persistence/templates/db/migrate/003_add_value_types.rb
amee-data-persistence-2.0.0 lib/generators/persistence/templates/db/migrate/003_add_value_types.rb
amee-data-persistence-1.1.0 generators/persistence/templates/db/migrate/003_add_value_types.rb
amee-data-persistence-1.0.0 generators/persistence/templates/db/migrate/003_add_value_types.rb