]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/018_create_acls.rb
Cleanup migrations
[rails.git] / db / migrate / 018_create_acls.rb
index 08ed4f7316b8b9fad91873b7d0c067c91e0d5373..0db06f30cba4978b8ee73ba23bacae8d8d7cc990 100644 (file)
@@ -2,11 +2,11 @@ require 'migrate'
 
 class CreateAcls < ActiveRecord::Migration
   def self.up
-    create_table "acls", myisam_table do |t|
-      t.column "id",      :integer_pk, :null => false
-      t.column "address", :inet,       :null => false
-      t.column "netmask", :inet,       :null => false
-      t.column "k",       :string,     :null => false
+    create_table "acls", :id => false do |t|
+      t.column "id",      :primary_key, :null => false
+      t.column "address", :inet, :null => false
+      t.column "netmask", :inet, :null => false
+      t.column "k",       :string, :null => false
       t.column "v",       :string
     end