Add adlist_groups and mark group_id columns as NOT NULL.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2019-06-16 17:05:33 +02:00
parent c53ee4202b
commit cbc210b014
No known key found for this signature in database
GPG key ID: FB60471F0575164A
2 changed files with 18 additions and 6 deletions

View file

@ -120,7 +120,7 @@ database_table_from_file() {
do
# Only add non-empty lines
if [[ ! -z "${domain}" ]]; then
echo "${rowid},\"${domain}\",1,${timestamp},${timestamp},\"Migrated from ${source}\"" >> "${tmpFile}"
echo "${rowid},\"${domain}\",1,${timestamp},${timestamp},0,\"Migrated from ${source}\"" >> "${tmpFile}"
rowid+=1
fi
done