[sr-dev] git:master: db schema: grp of address table defaults to 1

Daniel-Constantin Mierla miconda at gmail.com
Sun Mar 28 21:06:13 CEST 2010


Module: sip-router
Branch: master
Commit: 8f7c165ffefc44a2e054be6ec6fbd0da1cd63d92
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8f7c165ffefc44a2e054be6ec6fbd0da1cd63d92

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sun Mar 28 19:16:55 2010 +0200

db schema: grp of address table defaults to 1

- 0 (previous default value) is not allowed as group id

---

 lib/srdb1/schema/address.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/srdb1/schema/address.xml b/lib/srdb1/schema/address.xml
index 10d102c..5369685 100644
--- a/lib/srdb1/schema/address.xml
+++ b/lib/srdb1/schema/address.xml
@@ -30,7 +30,7 @@
         <name>grp</name>
         <type>unsigned short</type>
         <size>5</size>
-        <default>0</default>
+        <default>1</default>
         <description>Group</description>
         <natural/>
     </column>




More information about the sr-dev mailing list