mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-04 22:07:52 +00:00
feat(DB): release ACDB 5.0.0 (#10292)
* auth * char * world * archive * new files * v * correct auth db * add support get last file from archive * correct world updates * fix auth * pendinig to normal * add pending auth * add pendings * smallint * MEDIUMINT
This commit is contained in:
@@ -13,12 +13,13 @@ function import() {
|
||||
folder="db_"$db
|
||||
pendingPath="$AC_PATH_ROOT/data/sql/updates/pending_$folder"
|
||||
updPath="$UPDATES_PATH/$folder"
|
||||
archivedPath="$AC_PATH_ROOT/data/sql/archive/$folder/5.x"
|
||||
|
||||
latestUpd=`ls -1 $updPath/ | tail -n 1`
|
||||
|
||||
if [ -z $latestUpd ]; then
|
||||
echo "FIRST UPDATE FILE MISSING!! DID YOU ARCHIVED IT?";
|
||||
exit;
|
||||
latestUpd=`ls -1 $archivedPath/ | tail -n 1`
|
||||
echo "> Last update file for db $db is missing! Using archived file" $latestUpd
|
||||
fi
|
||||
|
||||
dateToday=`date +%Y_%m_%d`
|
||||
|
||||
Reference in New Issue
Block a user