diff options
author | Kargatum <dowlandtop@yandex.com> | 2022-01-29 20:35:10 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 10:35:10 -0300 |
commit | a689775891baad5ee39de1611d27d44f2c6a3ff5 (patch) | |
tree | 54c0b051ceead4047b783ce456ff8715ee137eb9 /apps/ci | |
parent | ebda2973900db55043700bb4159b58e7f240edf9 (diff) |
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
Diffstat (limited to 'apps/ci')
-rw-r--r-- | apps/ci/ci-pending-sql.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/ci/ci-pending-sql.sh b/apps/ci/ci-pending-sql.sh index fb5e3d872f..23fcec4fa1 100644 --- a/apps/ci/ci-pending-sql.sh +++ b/apps/ci/ci-pending-sql.sh @@ -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` |