Add missing annotations

This commit is contained in:
Gerhard Schlager 2018-10-08 16:40:05 +02:00
parent ec33b46d31
commit eb3ed7f6fd
2 changed files with 16 additions and 1 deletions

View File

@ -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
#

View File

@ -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
#