From 0da4b5d62dc10993db4d55236cb175e891a9c62b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 22 Aug 2011 09:21:32 +0200 Subject: Add --table-prefix option Assign unique table prefixes to most examples. This makes sure that we don't end up with broken schemas where half of the tables were changed by the next test and the other half has foreign keys that now point to nowhere. --- boost/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boost') diff --git a/boost/makefile b/boost/makefile index 8ea4996..ae197a5 100644 --- a/boost/makefile +++ b/boost/makefile @@ -60,7 +60,7 @@ gen := $(addprefix $(out_base)/,$(genf)) $(gen): $(odb) $(gen): odb := $(odb) $(gen) $(dist): export odb_options += --database $(db_id) --profile boost \ ---generate-query --generate-schema +--generate-query --generate-schema --table-prefix boost_ $(gen): cpp_options := -I$(src_base) $(gen): $(odb.l.cpp-options) $(odb_boost.l.cpp-options) $(boost.l.cpp-options) -- cgit v1.1