diff --git a/lib/templates/text b/lib/templates/text index 9ca3513..3bd9083 100755 --- a/lib/templates/text +++ b/lib/templates/text @@ -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 }