From b94531b1917c2a5f344f44028d3f5de0bd3d7bcf Mon Sep 17 00:00:00 2001 From: Yehonal Date: Fri, 18 Nov 2016 13:27:19 +0100 Subject: [PATCH] Created needed files for "sql pending system" + added README file to db_exporter --- bin/db_exporter/README.md | 12 ++++++++++++ data/sql/updates/db_auth/2016_11_18_00.sql | 6 ++++++ data/sql/updates/db_characters/2016_11_18_00.sql | 6 ++++++ data/sql/updates/db_world/2016_11_18_00.sql | 6 ++++++ 4 files changed, 30 insertions(+) create mode 100644 bin/db_exporter/README.md create mode 100644 data/sql/updates/db_auth/2016_11_18_00.sql create mode 100644 data/sql/updates/db_characters/2016_11_18_00.sql create mode 100644 data/sql/updates/db_world/2016_11_18_00.sql diff --git a/bin/db_exporter/README.md b/bin/db_exporter/README.md new file mode 100644 index 000000000..98703a88d --- /dev/null +++ b/bin/db_exporter/README.md @@ -0,0 +1,12 @@ +This script is used by devs to export the databases to base directories + +You should use it on clean databases + +## USAGE + +NOTE: this script is only working under unix currently + +1) You must create a config.sh file changing DB connection configurations +of /conf/config.sh.dist + +2) Run the db_export.sh script and wait diff --git a/data/sql/updates/db_auth/2016_11_18_00.sql b/data/sql/updates/db_auth/2016_11_18_00.sql new file mode 100644 index 000000000..3db0e5f0f --- /dev/null +++ b/data/sql/updates/db_auth/2016_11_18_00.sql @@ -0,0 +1,6 @@ +ALTER TABLE auth_db_version CHANGE COLUMN 2016_09_04_00 2016_11_18_00 bit; + +-- +-- Do not remove this file when we archive sql under this folder +-- it is needed for pending sql importer +-- diff --git a/data/sql/updates/db_characters/2016_11_18_00.sql b/data/sql/updates/db_characters/2016_11_18_00.sql new file mode 100644 index 000000000..f989e71a0 --- /dev/null +++ b/data/sql/updates/db_characters/2016_11_18_00.sql @@ -0,0 +1,6 @@ +ALTER TABLE auth_db_version CHANGE COLUMN 2016_08_25_00 2016_11_18_00 bit; + +-- +-- Do not remove this file when we archive sql under this folder +-- it is needed for pending sql importer +-- diff --git a/data/sql/updates/db_world/2016_11_18_00.sql b/data/sql/updates/db_world/2016_11_18_00.sql new file mode 100644 index 000000000..da48c8432 --- /dev/null +++ b/data/sql/updates/db_world/2016_11_18_00.sql @@ -0,0 +1,6 @@ +ALTER TABLE auth_db_version CHANGE COLUMN 2016_11_06_02 2016_11_18_00 bit; + +-- +-- Do not remove this file when we archive sql under this folder +-- it is needed for pending sql importer +--