cirandas.net

ref: master

db/migrate/060_add_refuse_join_table.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
class AddRefuseJoinTable < ActiveRecord::Migration
  def self.up
    create_table :refused_join_community, :id => false do |t|
      t.integer :person_id
      t.integer :community_id
    end
  end

  def self.down
    drop_table :refused_join_community
  end
end