Eli Mesika has uploaded a new change for review. Change subject: core: adding timestamp to async tasks and... ......................................................................
core: adding timestamp to async tasks and... core: adding timestamp to async tasks and compensation tables this patch adds timestamp columns to both async_tasks and business_entity_snapshot tables in order to track when an async task or compensation entry was issued. Change-Id: Id7a5c609083584e4ae304a3f7af7c0e3b4f9b408 Signed-off-by: Eli Mesika <emes...@redhat.com> --- A backend/manager/dbscripts/upgrade/03_01_1440_add_timestamp_to_async_tasks_and_compensation.sql 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/68/8668/1 diff --git a/backend/manager/dbscripts/upgrade/03_01_1440_add_timestamp_to_async_tasks_and_compensation.sql b/backend/manager/dbscripts/upgrade/03_01_1440_add_timestamp_to_async_tasks_and_compensation.sql new file mode 100644 index 0000000..b29f984 --- /dev/null +++ b/backend/manager/dbscripts/upgrade/03_01_1440_add_timestamp_to_async_tasks_and_compensation.sql @@ -0,0 +1,3 @@ +select fn_db_add_column('business_entity_snapshot', 'started_at', 'timestamp with time zone DEFAULT CURRENT_TIMESTAMP'); +select fn_db_add_column('async_tasks', 'started_at', 'timestamp with time zone DEFAULT CURRENT_TIMESTAMP'); + -- To view, visit http://gerrit.ovirt.org/8668 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id7a5c609083584e4ae304a3f7af7c0e3b4f9b408 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eli Mesika <emes...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches