From c083816c2479dcdfa6674c47a75a8293bf64a947 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Thu, 7 Dec 2017 11:37:43 +0900 Subject: Add embed_url to preview cards (#5775) --- app/models/preview_card.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/models') diff --git a/app/models/preview_card.rb b/app/models/preview_card.rb index e2bf65d94..5baddba8a 100644 --- a/app/models/preview_card.rb +++ b/app/models/preview_card.rb @@ -21,6 +21,7 @@ # height :integer default(0), not null # created_at :datetime not null # updated_at :datetime not null +# embed_url :string default(""), not null # class PreviewCard < ApplicationRecord -- cgit From 0c4ca3e549865623fdd35764915814acc8a595e1 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Thu, 7 Dec 2017 12:53:42 +0900 Subject: Remove duplicate annotate (#5910) * Remove duplicate annotate * Remove blank line --- app/models/session_activation.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'app/models') diff --git a/app/models/session_activation.rb b/app/models/session_activation.rb index 8b711d0d6..1d4ebca02 100644 --- a/app/models/session_activation.rb +++ b/app/models/session_activation.rb @@ -14,16 +14,6 @@ # 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 belongs_to :user, inverse_of: :session_activations, required: true belongs_to :access_token, class_name: 'Doorkeeper::AccessToken', dependent: :destroy -- cgit