maj template sql
This commit is contained in:
parent
04d037f3ed
commit
037cb1a9e2
|
@ -86,7 +86,13 @@ function generate_sql() {
|
||||||
|
|
||||||
check_overwrite "$1" || return
|
check_overwrite "$1" || return
|
||||||
estep "$(ppath "$file")"
|
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"
|
[ -n "$2" ] && array_add "$2" "$file"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue