annotate models

This commit is contained in:
Arpit Jalan
2016-10-31 15:02:11 +05:30
parent 584dc63d13
commit e03c1e4cdf
10 changed files with 29 additions and 11 deletions

View File

@@ -69,16 +69,15 @@ end
# client_id :string not null
# key :string not null
# application_name :string not null
# read :boolean not null
# write :boolean not null
# push :boolean not null
# push_url :string
# created_at :datetime
# updated_at :datetime
# revoked_at :datetime
# scopes :text default([]), not null, is an Array
#
# Indexes
#
# index_user_api_keys_on_client_id (client_id)
# index_user_api_keys_on_client_id (client_id) UNIQUE
# index_user_api_keys_on_key (key) UNIQUE
# index_user_api_keys_on_user_id (user_id)
#