Add date_updated field in adlist table set when a list changes.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2020-07-13 20:47:12 +02:00
parent 17ed5398e6
commit 4fd412d7c3
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD
4 changed files with 33 additions and 2 deletions

View file

@ -110,4 +110,10 @@ upgrade_gravityDB(){
sqlite3 "${database}" < "${scriptPath}/11_to_12.sql"
version=12
fi
if [[ "$version" == "12" ]]; then
# Add column date_updated to alist table
echo -e " ${INFO} Upgrading gravity database from version 12 to 13"
sqlite3 "${database}" < "${scriptPath}/12_to_13.sql"
version=12
fi
}