aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/model.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/model.cxx')
-rw-r--r--odb/relational/model.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/odb/relational/model.cxx b/odb/relational/model.cxx
index 6a65803..d7c2bd8 100644
--- a/odb/relational/model.cxx
+++ b/odb/relational/model.cxx
@@ -107,14 +107,11 @@ namespace relational
<< endl;
if (e.dup.kind () == "index")
- error (d) << "use #pragma db index to change one of the names"
- << endl;
+ info (d) << "use #pragma db index to change its name" << endl;
else if (e.dup.kind () == "table")
- error (d) << "use #pragma db table to change one of the names"
- << endl;
+ info (d) << "use #pragma db table to change its name" << endl;
else
- error (d) << "use #pragma db column to change its name"
- << endl;
+ info (d) << "use #pragma db column to change its name" << endl;
throw operation_failed ();
}