From 7a5c1de0a089b8f8b18a004a14bcafcfec9ce586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=CC=8Cte=CC=8Cpa=CC=81n=20Tomsa?= Date: Tue, 3 Apr 2018 12:45:38 +0200 Subject: [PATCH] Add configuration_script_sources.last_update_error Add new last_update_error column to configuration_script_sources table. This allows to store last update stdout to display more information about why its refresh failed. --- ...8_add_last_update_error_to_configuration_script_source.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20180329141018_add_last_update_error_to_configuration_script_source.rb diff --git a/db/migrate/20180329141018_add_last_update_error_to_configuration_script_source.rb b/db/migrate/20180329141018_add_last_update_error_to_configuration_script_source.rb new file mode 100644 index 000000000..2c640ee9d --- /dev/null +++ b/db/migrate/20180329141018_add_last_update_error_to_configuration_script_source.rb @@ -0,0 +1,5 @@ +class AddLastUpdateErrorToConfigurationScriptSource < ActiveRecord::Migration[5.0] + def change + add_column :configuration_script_sources, :last_update_error, :text + end +end