TT#28469 make ngcp.timezone related changes as not_replicated

* as the new introduced ngcp.timezone table is not replicated
      in my.cnf by default it must be as not_replicated and
      only become available when both nodes contain the same
      updated my.cnf tempalte and MariaDB is also restarted on
      both of them
    * fill in ngcp.timezone with a default record

Change-Id: I34c080a6fa62d951fa01218f9049ef3e1d6668f0
changes/55/17855/6
Kirill Solomko 8 years ago
parent 0cb5170683
commit 094509c182

@ -1,3 +1,4 @@
set sql_log_bin=0;
USE billing;
DROP TABLE ngcp.timezone;

@ -1,3 +1,5 @@
set sql_log_bin=0;
set autocommit=0;
USE billing;
CREATE TABLE ngcp.timezone
@ -7,3 +9,7 @@ CREATE TABLE ngcp.timezone
created_at timestamp default current_timestamp,
modified_at timestamp default current_timestamp on update current_timestamp
);
INSERT INTO ngcp.timezone (name) VALUES ('localtime');
COMMIT;

@ -1,3 +1,4 @@
set sql_log_bin=0;
USE billing;
CREATE OR REPLACE VIEW v_subscriber_timezone AS

@ -1,3 +1,4 @@
set sql_log_bin=0;
USE billing;
CREATE OR REPLACE VIEW v_subscriber_timezone AS
Loading…
Cancel
Save