mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 06:58:31 +08:00
annotate models
This commit is contained in:
@ -57,3 +57,21 @@ class OptimizedImage < ActiveRecord::Base
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: optimized_images
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# sha :string(255) not null
|
||||
# ext :string(255) not null
|
||||
# width :integer not null
|
||||
# height :integer not null
|
||||
# upload_id :integer not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_optimized_images_on_upload_id (upload_id)
|
||||
# index_optimized_images_on_upload_id_and_width_and_height (upload_id,width,height) UNIQUE
|
||||
#
|
||||
|
||||
|
Reference in New Issue
Block a user