Sha256: e065f030e41a38f5c10e672ca9cde4f46303b72ed9e53f2a05e5a8c448efdacd

Contents?: true

Size: 178 Bytes

Versions: 6

Compression:

Stored size: 178 Bytes

Contents

class AddBioIdToComment < ActiveRecord::Migration
  def self.up
    add_column :comments, :bio_id, :integer
  end

  def self.down
    remove_column :comments, :bio_id
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
somehow_has_relation-0.0.7 test/dummy2/db/migrate/20110316155643_add_bio_id_to_comment.rb
somehow_has_relation-0.0.6 test/dummy2/db/migrate/20110316155643_add_bio_id_to_comment.rb
somehow_has_relation-0.0.4 test/dummy2/db/migrate/20110316155643_add_bio_id_to_comment.rb
somehow_has_relation-0.0.3 test/dummy2/db/migrate/20110316155643_add_bio_id_to_comment.rb
somehow_has_relation-0.0.2 test/dummy2/db/migrate/20110316155643_add_bio_id_to_comment.rb
somehow_has_relation-0.0.1 test/dummy2/db/migrate/20110316155643_add_bio_id_to_comment.rb