mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:01:20 +08:00
annotate models
This commit is contained in:
@ -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
|
||||
#
|
||||
|
Reference in New Issue
Block a user