Merge branch '2016.11' into 2016.11-develop
authorPhilipp Schüle <p.schuele@metaways.de>
Thu, 8 Dec 2016 13:02:22 +0000 (14:02 +0100)
committerPhilipp Schüle <p.schuele@metaways.de>
Thu, 8 Dec 2016 13:02:22 +0000 (14:02 +0100)
Change-Id: I1fbc1ed21b4b2f3d7fed47ccb700cf735feef2cc

1  2 
tine20/Tinebase/Acl/Roles.php
tine20/Tinebase/Container.php
tine20/Tinebase/Setup/Update/Release9.php
tine20/Tinebase/Setup/setup.xml

Simple merge
Simple merge
@@@ -371,4 -299,26 +371,26 @@@ class Tinebase_Setup_Update_Release9 ex
          if (Tinebase_Core::isLogLevel(Zend_Log::INFO)) Tinebase_Core::getLogger()->info(__METHOD__ . '::' . __LINE__
              . ' Set owner for ' . $count . ' containers.');
      }
 -     * update to 9.10
+     /**
 -    public function update_9()
++     * update to 9.12
+      *
+      * change length of groups.description column from varchar(255) to text
+      */
 -        $this->setApplicationVersion('Tinebase', '9.10');
++    public function update_11()
+     {
+         if ($this->getTableVersion('groups') < 6) {
+             $declaration = new Setup_Backend_Schema_Field_Xml(
+                 '<field>
+                     <name>description</name>
+                     <type>text</type>
+                     <notnull>false</notnull>
+                 </field>
+             ');
+             $this->_backend->alterCol('groups', $declaration);
+             $this->setTableVersion('groups', '6');
+         }
++        $this->setApplicationVersion('Tinebase', '9.12');
+     }
  }
@@@ -1,7 -1,7 +1,7 @@@
  <?xml version="1.0" encoding="utf-8"?>
  <application>
      <name>Tinebase</name>
-     <version>9.11</version>
 -    <version>9.10</version>
++    <version>9.12</version>
      <tables>
          <table>
              <name>applications</name>