mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Remove duplicate annotate (#5910)
* Remove duplicate annotate * Remove blank line
This commit is contained in:
parent
c083816c24
commit
0c4ca3e549
@ -14,16 +14,6 @@
|
|||||||
# web_push_subscription_id :integer
|
# web_push_subscription_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
# id :bigint not null, primary key
|
|
||||||
# user_id :bigint not null
|
|
||||||
# session_id :string not null
|
|
||||||
# created_at :datetime not null
|
|
||||||
# updated_at :datetime not null
|
|
||||||
# user_agent :string default(""), not null
|
|
||||||
# ip :inet
|
|
||||||
# access_token_id :bigint
|
|
||||||
#
|
|
||||||
|
|
||||||
class SessionActivation < ApplicationRecord
|
class SessionActivation < ApplicationRecord
|
||||||
belongs_to :user, inverse_of: :session_activations, required: true
|
belongs_to :user, inverse_of: :session_activations, required: true
|
||||||
belongs_to :access_token, class_name: 'Doorkeeper::AccessToken', dependent: :destroy
|
belongs_to :access_token, class_name: 'Doorkeeper::AccessToken', dependent: :destroy
|
||||||
|
Loading…
Reference in New Issue
Block a user