Sha256: 9f79a7447a7bffa7425f23aa6eb344aceb485fd6eb6dd6ffd0bcdba2d31d7cda

Contents?: true

Size: 474 Bytes

Versions: 2

Compression:

Stored size: 474 Bytes

Contents

class AnnotationsMigrationV4 < ActiveRecord::Migration
  def self.up
    change_column :annotations,:version,:integer,:null=>true
    change_column :text_values,:version,:integer,:null=>true
    change_column :number_values,:version,:integer,:null=>true
  end

  def self.down
    change_column :annotations,:version,:integer,:null=>false
    change_column :text_values,:version,:integer,:null=>false
    change_column :number_values,:version,:integer,:null=>false
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
my_annotations-0.6.0 generators/annotations_migration/templates/migration_v4.rb
my_annotations-0.5.1 generators/annotations_migration/templates/migration_v4.rb