Sha256: eefb7de45018f6573423a83cca75ede94840f682d6e3e1ade004e49272c9fc3a

Contents?: true

Size: 233 Bytes

Versions: 4

Compression:

Stored size: 233 Bytes

Contents

class AnnotationsMigrationV2 < ActiveRecord::Migration
  def self.up
    add_column :annotation_attributes, :identifier, :string, :null => false
  end

  def self.down
    remove_column :annotation_attributes, :identifier  
  end
end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
my_annotations-0.6.0 generators/annotations_migration/templates/migration_v2.rb
my_annotations-0.6.0 test/app_root/db/migrate/003_annotations_migration_v2.rb
my_annotations-0.5.1 generators/annotations_migration/templates/migration_v2.rb
my_annotations-0.5.1 test/app_root/db/migrate/003_annotations_migration_v2.rb