From 3f5749cb1b3144b196b17e843586064b288b1f3c Mon Sep 17 00:00:00 2001 From: Mykola Malkov Date: Wed, 4 Jun 2025 19:17:12 +0300 Subject: [PATCH] MT#61373 Use '+00:00' time zone The newly created mariadb instance has no time zones names so use digits here. Change-Id: I620ce9ce977088037f7198ce77d2c2e0aaed63b9 --- build_utils/ngcp-build-schema-files | 2 +- schema/accounting.sql | 2 +- schema/billing.sql | 2 +- schema/carrier.sql | 2 +- schema/fileshare.sql | 2 +- schema/freeswitch.sql | 2 +- schema/kamailio.sql | 2 +- schema/ldap.sql | 2 +- schema/ngcp.sql | 2 +- schema/prosody.sql | 2 +- schema/provisioning.sql | 2 +- schema/sipstats.sql | 2 +- schema/stats.sql | 2 +- schema/syslog.sql | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/build_utils/ngcp-build-schema-files b/build_utils/ngcp-build-schema-files index 0978fb31..cd7897da 100755 --- a/build_utils/ngcp-build-schema-files +++ b/build_utils/ngcp-build-schema-files @@ -128,7 +128,7 @@ for schema in "${schemes[@]}"; do echo "Running mysqldump for schema '${schema}'..." cat >"${schema}.sql" <<-SCHEMA - SET SESSION time_zone=UTC; + SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/accounting.sql b/schema/accounting.sql index a77d1bf7..705c42e0 100644 --- a/schema/accounting.sql +++ b/schema/accounting.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/billing.sql b/schema/billing.sql index 6c7fbdd7..d68e5270 100644 --- a/schema/billing.sql +++ b/schema/billing.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/carrier.sql b/schema/carrier.sql index 1c3e6763..270a0c5f 100644 --- a/schema/carrier.sql +++ b/schema/carrier.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/fileshare.sql b/schema/fileshare.sql index a5ad99f1..4a64af68 100644 --- a/schema/fileshare.sql +++ b/schema/fileshare.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/freeswitch.sql b/schema/freeswitch.sql index bc71f27c..3a32c5ef 100644 --- a/schema/freeswitch.sql +++ b/schema/freeswitch.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/kamailio.sql b/schema/kamailio.sql index 792194b5..48bb4d82 100644 --- a/schema/kamailio.sql +++ b/schema/kamailio.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/ldap.sql b/schema/ldap.sql index 96113714..84bc0d62 100644 --- a/schema/ldap.sql +++ b/schema/ldap.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/ngcp.sql b/schema/ngcp.sql index afa973da..04af5567 100644 --- a/schema/ngcp.sql +++ b/schema/ngcp.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/prosody.sql b/schema/prosody.sql index c4a39390..181c3ba6 100644 --- a/schema/prosody.sql +++ b/schema/prosody.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/provisioning.sql b/schema/provisioning.sql index 035c27fd..010e8cb7 100644 --- a/schema/provisioning.sql +++ b/schema/provisioning.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/sipstats.sql b/schema/sipstats.sql index be6e4f32..72c94c11 100644 --- a/schema/sipstats.sql +++ b/schema/sipstats.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/stats.sql b/schema/stats.sql index cf79a215..8fc27861 100644 --- a/schema/stats.sql +++ b/schema/stats.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0; diff --git a/schema/syslog.sql b/schema/syslog.sql index baae4327..a525ff37 100644 --- a/schema/syslog.sql +++ b/schema/syslog.sql @@ -1,4 +1,4 @@ -SET SESSION time_zone=UTC; +SET SESSION time_zone='+00:00'; SET FOREIGN_KEY_CHECKS=0; SET NAMES utf8; SET SESSION autocommit=0;