]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/acl.rb
Add some extra indexes for ACL lookups
[rails.git] / app / models / acl.rb
index 529ccbe3bc26640dfb057674aca5b433ec1582d3..ea19c74b0f0082302ed9b740525377c58bd15b6c 100644 (file)
@@ -1,3 +1,20 @@
+# == Schema Information
+#
+# Table name: acls
+#
+#  id      :integer          not null, primary key
+#  address :inet
+#  k       :string           not null
+#  v       :string
+#  domain  :string
+#
+# Indexes
+#
+#  acls_k_idx             (k)
+#  index_acls_on_address  (address) USING gist
+#  index_acls_on_domain   (domain)
+#
+
 class Acl < ActiveRecord::Base
   validates :k, :presence => true