Hello,

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=ad30fed3e34904b3c8857aacf0925ee4d50fed1b

Author: Timo Reimann<[email protected]>
Committer: Timo Reimann<[email protected]>
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).

Cheers,
Daniel

--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to