Add missing annotations
This commit is contained in:
parent
ec33b46d31
commit
eb3ed7f6fd
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue