From 9861642afca239ebe3f49fc7c5c705b71833abc9 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Wed, 29 Sep 2021 19:57:43 +0000 Subject: [PATCH] another db migration fix v0.16.0 --- app/src/main/res/raw/db_41_58.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/raw/db_41_58.sql b/app/src/main/res/raw/db_41_58.sql index 630e207c..b9b40b2e 100644 --- a/app/src/main/res/raw/db_41_58.sql +++ b/app/src/main/res/raw/db_41_58.sql @@ -43,7 +43,8 @@ insert into profiles_new( show_commodity_by_default, default_commodity, show_comments_by_default, detected_version_pre_1_19, detected_version_major, detected_version_minor) select uuid, name, url, use_authentication, auth_user, auth_password, order_no, - permit_posting, theme, preferred_accounts_filter, future_dates, api_version, + permit_posting, theme, preferred_accounts_filter, coalesce(future_dates,-1), + coalesce(api_version,0), show_commodity_by_default, default_commodity, show_comments_by_default, coalesce(detected_version_pre_1_19,0), coalesce(detected_version_major,0), coalesce(detected_version_minor,0) -- 2.39.5