aboutsummaryrefslogtreecommitdiff
path: root/common/schema/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-26 12:43:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-26 12:43:17 +0200
commitd3905b172b7d3cd1df933f57072aee652d10c186 (patch)
treea0c65d355d29285dce239b0d2328c168118e3646 /common/schema/makefile
parent32b8b828dc0e8ffea918c8cf9f07ba213ef63724 (diff)
Implement support for database schema
New pragma qualifier: namespace. New pragma specifier: schema. The table specifier was extended to accept a schema prefix. New option: --default- schema. The common/schema test was extended to cover the new functionality.
Diffstat (limited to 'common/schema/makefile')
-rw-r--r--common/schema/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/schema/makefile b/common/schema/makefile
index bc04d16..043e8a1 100644
--- a/common/schema/makefile
+++ b/common/schema/makefile
@@ -36,7 +36,7 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
$(gen) $(dist): export odb_options += --database $(db_id) --generate-schema \
---table-prefix schema_
+--generate-query --table-prefix schema_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)