aboutsummaryrefslogtreecommitdiff
path: root/odb/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-09-13 12:21:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-09-13 12:21:06 +0200
commit519010bb77f813971570dceba068272ca2f5b600 (patch)
treec95fd514295184a88d4caf62ded3de78ba8f579c /odb/options.cli
parentdce27fe8994e819a463e83212779d3d43bd2ba2e (diff)
Add --sql-interlude and --sql-interlude-file options
Diffstat (limited to 'odb/options.cli')
-rw-r--r--odb/options.cli18
1 files changed, 18 insertions, 0 deletions
diff --git a/odb/options.cli b/odb/options.cli
index e9d76dd..6740572 100644
--- a/odb/options.cli
+++ b/odb/options.cli
@@ -294,6 +294,15 @@ class options
"Insert <text> at the beginning of the generated database schema file."
};
+ // Interludes.
+ //
+ std::vector<std::string> --sql-interlude
+ {
+ "<text>",
+ "Insert <text> after all the \cb{DROP} and before any \cb{CREATE}
+ statements in the generated database schema file."
+ };
+
// Epilogues.
//
std::vector<std::string> --hxx-epilogue
@@ -363,6 +372,15 @@ class options
database schema file."
};
+ // Interlude files.
+ //
+ std::string --sql-interlude-file
+ {
+ "<file>",
+ "Insert the content of <file> after all the \cb{DROP} and before any
+ \cb{CREATE} statements in the generated database schema file."
+ };
+
// Epilogue files.
//
std::string --hxx-epilogue-file