Module: kamailio
Branch: master
Commit: 7c8fdb0df37ee1466d7171ff3cff77e5b961abb4
URL:
https://github.com/kamailio/kamailio/commit/7c8fdb0df37ee1466d7171ff3cff77e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-03-24T10:33:30+01:00
lib/srdb1: schema - use smallint for secfilter
- tinyint is not supported
---
Modified: src/lib/srdb1/schema/secfilter.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/7c8fdb0df37ee1466d7171ff3cff77e…
Patch:
https://github.com/kamailio/kamailio/commit/7c8fdb0df37ee1466d7171ff3cff77e…
---
diff --git a/src/lib/srdb1/schema/secfilter.xml b/src/lib/srdb1/schema/secfilter.xml
index 3e0037da5a..4edab34e6c 100644
--- a/src/lib/srdb1/schema/secfilter.xml
+++ b/src/lib/srdb1/schema/secfilter.xml
@@ -36,14 +36,14 @@
<column id="action">
<name>action</name>
- <type>tinyint</type>
+ <type>short</type>
<default/>
<description>Action to do (0=blacklisted data, 1=whitelisted data,
2=blacklisted destination).</description>
</column>
<column id="type">
<name>type</name>
- <type>tinyint</type>
+ <type>short</type>
<default/>
<description>Type of data (0=user-agent, 1=country, 2=domain, 3=IP address,
4=user).</description>
</column>