Module: sip-router Branch: master Commit: 06faa586621c7ec0dd15654bc5e8b10153927ff9 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=06faa586...
Author: Juha Heinanen jh@tutpro.com Committer: Juha Heinanen jh@tutpro.com Date: Wed Aug 10 15:46:47 2011 +0300
lib/srdb1/schema/rls_presentity.xml: content_type of rls_presentity table
- Increased size of content_type field of rls_presentity table from 64 to 255, because 64 is too short for many actual content types. - Increased table version.
---
lib/srdb1/schema/rls_presentity.xml | 6 +++--- modules_k/rls/rls.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/srdb1/schema/rls_presentity.xml b/lib/srdb1/schema/rls_presentity.xml index f413de4..fc29c2d 100644 --- a/lib/srdb1/schema/rls_presentity.xml +++ b/lib/srdb1/schema/rls_presentity.xml @@ -9,7 +9,7 @@
<table id="rls_presentity" xmlns:db="http://docbook.org/ns/docbook"> <name>rls_presentity</name> - <version>0</version> + <version>1</version> <type db="mysql">&MYSQL_TABLE_TYPE;</type> <description> db:paraTable for the RLS module. @@ -44,8 +44,8 @@ <column> <name>content_type</name> <type>string</type> - <size>&domain_len;</size> - <description>Event</description> + <size>255</size> + <description>Content type</description> </column>
<column> diff --git a/modules_k/rls/rls.c b/modules_k/rls/rls.c index d82e76a..41d845b 100644 --- a/modules_k/rls/rls.c +++ b/modules_k/rls/rls.c @@ -57,7 +57,7 @@
MODULE_VERSION
-#define P_TABLE_VERSION 0 +#define P_TABLE_VERSION 1 #define W_TABLE_VERSION 1
/** database connection */