diff --git a/app/models/research/journal/article.rb b/app/models/research/journal/article.rb index 6dbbde9097d0ed07b5064f8c99de0e3102e20efe..b389b460a43c48f1e2bc0828b6ac870f261ca7a1 100644 --- a/app/models/research/journal/article.rb +++ b/app/models/research/journal/article.rb @@ -11,7 +11,7 @@ # text :text # title :string # created_at :datetime not null -# updated_at :date not null +# updated_at :datetime not null # research_journal_id :uuid not null # research_journal_volume_id :uuid # university_id :uuid not null diff --git a/app/views/admin/communication/website/posts/show.html.erb b/app/views/admin/communication/website/posts/show.html.erb index 887a61249c31c6883bea99a1ecfa34bc3e636c8b..4623d0abc2f0e7908c6af246f341816ca0d6df53 100644 --- a/app/views/admin/communication/website/posts/show.html.erb +++ b/app/views/admin/communication/website/posts/show.html.erb @@ -54,7 +54,6 @@ </div> <div class="card-body"> <%= image_tag @post.featured_image.variant(resize: '600'), class: 'img-fluid mb-3' %><br> - <%= @post.featured_image.url %> </div> </div> <% end %> diff --git a/db/schema.rb b/db/schema.rb index a46467ee30f7ac8fb6aa6d08c208e840ab8e4c00..3ac5ad0ad2ef8773307a6115336a156c4e314603 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -268,7 +268,7 @@ ActiveRecord::Schema.define(version: 2021_10_25_062028) do t.uuid "research_journal_id", null: false t.uuid "research_journal_volume_id" t.datetime "created_at", precision: 6, null: false - t.date "updated_at", null: false + t.datetime "updated_at", precision: 6, null: false t.uuid "updated_by_id" t.text "abstract" t.text "references"