annotate models

This commit is contained in:
Régis Hanol
2013-06-17 02:48:58 +02:00
parent 510bac4b27
commit 454636abf1
9 changed files with 68 additions and 3 deletions

View File

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