Skip to content

A platform for community discussion. Free, open, simple.

Add missing annotations

Gerhard Schlagereb3ed7f6fdb4
diff --git a/app/models/tag.rb b/app/models/tag.rb
index f2ca7f067e3..ec42d1a62c5 100644
--- a/app/models/tag.rb
+++ b/app/models/tag.rb
@@ -158,5 +158,6 @@ end
#
# Indexes
#
-# index_tags_on_name (name) UNIQUE
+# index_tags_on_lower_name (lower((name)::text)) UNIQUE
+# index_tags_on_name (name) UNIQUE
#
diff --git a/app/models/user_upload.rb b/app/models/user_upload.rb
index a72de8a0c6d..c60b724b91c 100644
--- a/app/models/user_upload.rb
+++ b/app/models/user_upload.rb
@@ -2,3 +2,17 @@ class UserUpload < ActiveRecord::Base
belongs_to :upload
belongs_to :user
end
+
+# == Schema Information
+#
+# Table name: user_uploads
+#
+# id :bigint(8) not null, primary key
+# upload_id :integer not null
+# user_id :integer not null
+# created_at :datetime not null
+#
+# Indexes
+#
+# index_user_uploads_on_upload_id_and_user_id (upload_id,user_id) UNIQUE
+#