mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-24 14:54:13 +00: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 a new issue