maj template sql

This commit is contained in:
Jephté Clain 2020-09-25 11:21:41 +04:00
parent 04d037f3ed
commit 037cb1a9e2
1 changed files with 7 additions and 1 deletions

View File

@ -86,7 +86,13 @@ function generate_sql() {
check_overwrite "$1" || return
estep "$(ppath "$file")"
echo >"$file" "-- -*- coding: $encoding ${mode:+mode: $mode }-*- vim:sw=4:sts=4:et:ai:si:sta:fenc=$encoding"
echo >"$file" "\
-- -*- coding: $encoding ${mode:+mode: $mode }-*- vim:sw=4:sts=4:et:ai:si:sta:fenc=$encoding
-- @database xxx
start transaction;
commit;"
[ -n "$2" ] && array_add "$2" "$file"
return 0
}