From 32481d8cc9dde25eef7a7e3befa90ab169c47838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Borz=C3=AC?= Date: Thu, 11 Aug 2016 16:04:38 +0200 Subject: [PATCH] Update README.md --- data/sql/updates/README.md | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/data/sql/updates/README.md b/data/sql/updates/README.md index 947c0f6db..b17de6023 100644 --- a/data/sql/updates/README.md +++ b/data/sql/updates/README.md @@ -1,27 +1 @@ -All files contained in this folders **must not be re-applicable**! - - -For this purpose we're versioning it using this format: - - - -**File name**: yyyy_mm_dd_XX.sql - -yyyy -> year -mm -> month -dd -> day -XX -> an incremental number if an sql with same date already exists, by default: 00 - -**SQL Header ( the first query ):** - -The following is an example of the query that must be present in first row of every sql updates ( This example is specifically for auth database:) - -ALTER TABLE auth_db_version -CHANGE COLUMN 2016_07_09_01 -2016_07_10_00 bit; - -Of course the rule is: - -CHANGE COLUMN 2016_07_09_01 <- the previous version - -2016_07_10_00 bit <-- the next version +Please read [this](https://github.com/azerothcore/azerothcore-wotlk/wiki/Dealing-with-SQL-files) before adding new SQL-update files.