Sha256: f0da6e4cbda9d77f90638787f697321cdfaea9935feac06420b114b9167b85df

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

class AddRevisedByIdToGeorgiaRevisions < ActiveRecord::Migration

  def self.up
    add_column :georgia_revisions, :revised_by_id, :integer
    add_index :georgia_revisions, :revised_by_id
  end

  def self.down
    remove_column :georgia_revisions, :revised_by_id
    remove_index :georgia_revisions, :revised_by_id
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.8.0 db/migrate/021_add_revised_by_id_to_georgia_revisions.rb