Преглед изворни кода

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.
Juha Heinanen пре 14 година
родитељ
комит
06faa58662
2 измењених фајлова са 4 додато и 4 уклоњено
  1. 3 3
      lib/srdb1/schema/rls_presentity.xml
  2. 1 1
      modules_k/rls/rls.c

+ 3 - 3
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:para>Table 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>

+ 1 - 1
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 */