]> git.openstreetmap.org Git - rails.git/blob - db/migrate/018_create_acls.rb
Better testing of bbox handling in relations. Maybe fixes #1861, but wasn't able...
[rails.git] / db / migrate / 018_create_acls.rb
1 class CreateAcls < ActiveRecord::Migration
2   def self.up
3     create_table "acls", myisam_table do |t|
4       t.column "id",      :integer_pk, :null => false
5       t.column "address", :inet,       :null => false
6       t.column "netmask", :inet,       :null => false
7       t.column "k",       :string,     :null => false
8       t.column "v",       :string
9     end
10
11     add_index "acls", ["k"], :name => "acls_k_idx"
12   end
13
14   def self.down
15     drop_table "acls"
16   end
17 end