cirandas.net

ref: master

db/migrate/20140108132730_article_privacy_exceptions.rb


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

  def self.down
    drop_table :article_privacy_exceptions
  end
end