cirandas.net

ref: master

db/migrate/014_create_region_validators_table.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
class CreateRegionValidatorsTable < ActiveRecord::Migration
  def self.up
    create_table :region_validators, :id => false do |t|
      t.column :region_id, :integer
      t.column :organization_id, :integer
    end
  end

  def self.down
    drop_table :region_validators
  end
end