lib/osso/models/access_token.rb in osso-0.0.5.pre.zeta vs lib/osso/models/access_token.rb in osso-0.0.5

- old
+ new

@@ -37,11 +37,13 @@ # expires_at :datetime # created_at :datetime not null # updated_at :datetime not null # user_id :uuid # oauth_client_id :uuid +# requested :jsonb # # Indexes # -# index_access_tokens_on_oauth_client_id (oauth_client_id) -# index_access_tokens_on_user_id (user_id) +# index_access_tokens_on_oauth_client_id (oauth_client_id) +# index_access_tokens_on_token_and_expires_at (token,expires_at) UNIQUE +# index_access_tokens_on_user_id (user_id) #