annotate models

This commit is contained in:
Sam
2013-12-05 17:40:35 +11:00
parent 46f3261025
commit 2db3cfb16b
13 changed files with 83 additions and 33 deletions

View File

@ -20,3 +20,20 @@ class ApiKey < ActiveRecord::Base
end
end
# == Schema Information
#
# Table name: api_keys
#
# id :integer not null, primary key
# key :string(64) not null
# user_id :integer
# created_by_id :integer
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#
# index_api_keys_on_key (key)
# index_api_keys_on_user_id (user_id) UNIQUE
#