On 10/7/11 10:35 AM, Timo Reimann wrote:
Module: sip-router
Branch: master
Commit: ad30fed3e34904b3c8857aacf0925ee4d50fed1b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ad30fed…
Author: Timo Reimann<timo.reimann(a)1und1.de>
Committer: Timo Reimann<timo.reimann(a)1und1.de>
Date: Fri Oct 7 10:34:35 2011 +0200
kamutil: Add README describing the naming schema.
---
utils/kamctl/README | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/utils/kamctl/README b/utils/kamctl/README
new file mode 100644
index 0000000..5fb4605
--- /dev/null
+++ b/utils/kamctl/README
@@ -0,0 +1,6 @@
+SQL creation *must* follow the naming pattern
+
+<tablename>-create.sql
+
+Note that dashes ("-") in<tablename> must be replaced by underscores
+("_").
well, better said here that the tablename in database must match
the
table name in sql creation scripts. The problem I could spot is that in
db the table name is dialog_vars while sql scripts were named
dialog-vars. Not sure you can have table names with '-' in all db
systems. In kamctl, in some parts of its code, the table name has to be
listed an created from sql script that has the name tablename-create.sql
or copied from file named tablename in the appripriate directory (for
dbtext, db berkeley).
Added the README once more. Let me know if it's still uncool (or feel
free to fix it yourself).
Cheers,
--Timo