浏览代码

- fix error in userblacklist DB scheme definition, the whitelist colum type
should be of TINYINT (or equivalent) size
- no DB version update necessary, as the module in question is not released yet


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4184 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt 17 年之前
父节点
当前提交
8384f5a76d
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      lib/srdb1/schema/globalblacklist.xml
  2. 1 1
      lib/srdb1/schema/userblacklist.xml

+ 1 - 1
lib/srdb1/schema/globalblacklist.xml

@@ -36,7 +36,7 @@
 
 
     <column>
     <column>
         <name>whitelist</name>
         <name>whitelist</name>
-        <type>unsigned int</type>
+        <type>char</type>
         <size>1</size>
         <size>1</size>
         <default>0</default>
         <default>0</default>
         <description>Specify if this a blacklist (0) or a whitelist (1) entry.</description>
         <description>Specify if this a blacklist (0) or a whitelist (1) entry.</description>

+ 1 - 1
lib/srdb1/schema/userblacklist.xml

@@ -52,7 +52,7 @@
 
 
     <column>
     <column>
         <name>whitelist</name>
         <name>whitelist</name>
-        <type>unsigned int</type>
+        <type>char</type>
         <size>1</size>
         <size>1</size>
         <default>0</default>
         <default>0</default>
         <description>Specify if this a blacklist (0) or a whitelist (1) entry.</description>
         <description>Specify if this a blacklist (0) or a whitelist (1) entry.</description>