From 6748bcf17c0d3d4ad27f21eab504ade4ea08ad28 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Thu, 4 Jul 2024 23:05:50 +0200 Subject: [PATCH] Add a note about logs when reporting a bug --- app/views/notifications/_notification.html.erb | 6 ++++++ db/schema.rb | 14 -------------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/app/views/notifications/_notification.html.erb b/app/views/notifications/_notification.html.erb index 9c5b588c..85a1393e 100644 --- a/app/views/notifications/_notification.html.erb +++ b/app/views/notifications/_notification.html.erb @@ -8,6 +8,12 @@ <% if params[:action] == 'show' %>
<%= notification.content %> + + <% if notification.error? %> +
+ Please, when reporting a bug to Github Issues, don't forget to include logs from dawarich_app and dawarich_sidekiq docker containers. Thank you! +
+ <% end %>
<% end %> diff --git a/db/schema.rb b/db/schema.rb index b40b6d7d..a56b2bb7 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -14,20 +14,6 @@ ActiveRecord::Schema[7.1].define(version: 2024_07_03_105734) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" - create_table "active_admin_comments", force: :cascade do |t| - t.string "namespace" - t.text "body" - t.string "resource_type" - t.bigint "resource_id" - t.string "author_type" - t.bigint "author_id" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false - t.index ["author_type", "author_id"], name: "index_active_admin_comments_on_author" - t.index ["namespace"], name: "index_active_admin_comments_on_namespace" - t.index ["resource_type", "resource_id"], name: "index_active_admin_comments_on_resource" - end - create_table "active_storage_attachments", force: :cascade do |t| t.string "name", null: false t.string "record_type", null: false