aboutsummaryrefslogtreecommitdiff
path: root/common/schema
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-08-24 17:13:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-08-24 17:13:55 +0200
commitff3950866c0f756a5b6f379b9f95f01fff4a9ec7 (patch)
tree1171b1c1ecd9cffc5022d34d8d411846b98adf09 /common/schema
parent1fca8273447e0048941bbfe8ca23466f103c42f3 (diff)
Make tests use unique table prefixes
Diffstat (limited to 'common/schema')
-rw-r--r--common/schema/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/schema/makefile b/common/schema/makefile
index 7c67a8b..a0e81eb 100644
--- a/common/schema/makefile
+++ b/common/schema/makefile
@@ -35,7 +35,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database $(db_id) --generate-schema
+$(gen) $(dist): export odb_options += --database $(db_id) --generate-schema \
+--table-prefix common_schema_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)