TT#30501 add ngcp.tzinfo_version

* ngcp.tzinfo_version is meant to store
      the tzdata package version used in
      the 'mysql_tzinfo_to_sql' data synchronisation.

Change-Id: I389ee0d189aff40ab94f55e04025a2e44e7027c8
(cherry picked from commit eb5112d1f4)
changes/57/21457/1
Kirill Solomko 8 years ago
parent 1bfed9cde7
commit eb97073646

@ -0,0 +1,5 @@
set sql_log_bin=0;
USE ngcp;
DROP TABLE ngcp.tzinfo_version;

@ -0,0 +1,15 @@
set sql_log_bin=0;
set autocommit=0;
USE ngcp;
CREATE TABLE tzinfo_version
(
id enum('1') not null primary key,
version varchar(255) not null,
created_at timestamp default current_timestamp,
modified_at timestamp default current_timestamp on update current_timestamp
);
INSERT INTO tzinfo_version (version) VALUES ('0');
COMMIT;
Loading…
Cancel
Save