[Tickets #12998] Re: git HEAD: DB migration fails

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Feb 28 08:18:22 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12998
------------------------------------------------------------------------------
  Ticket             | 12998
  Updated By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | git HEAD: DB migration fails
  Queue              | Horde Base
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2014-02-28 08:18) wrote:

> What's the result of calling this in Horde's PHP console:
> var_dump($injector->getInstance('Horde_Db_Adapter')->columns('turba_shares'));

array(11) {
   ["share_id"]=>
   object(Horde_Db_Adapter_Sqlite_Column)#208 (11) {
     ["_name":protected]=>
     string(8) "share_id"
     ["_type":protected]=>
     string(7) "integer"
     ["_null":protected]=>
     bool(false)
     ["_limit":protected]=>
     NULL
     ["_precision":protected]=>
     NULL
     ["_scale":protected]=>
     NULL
     ["_unsigned":protected]=>
     bool(false)
     ["_default":protected]=>
     NULL
     ["_sqlType":protected]=>
     string(7) "INTEGER"
     ["_isText":protected]=>
     bool(false)
     ["_isNumber":protected]=>
     bool(true)
   }
   ["share_name"]=>
   object(Horde_Db_Adapter_Sqlite_Column)#199 (11) {
     ["_name":protected]=>
     string(10) "share_name"
     ["_type":protected]=>
     string(6) "string"
     ["_null":protected]=>
     bool(false)
     ["_limit":protected]=>
     int(255)
     ["_precision":protected]=>
     NULL
     ["_scale":protected]=>
     NULL
     ["_unsigned":protected]=>
     bool(false)
     ["_default":protected]=>
     NULL
     ["_sqlType":protected]=>
     string(12) "varchar(255)"
     ["_isText":protected]=>
     bool(true)
     ["_isNumber":protected]=>
     bool(false)
   }
   ["share_owner"]=>
   object(Horde_Db_Adapter_Sqlite_Column)#212 (11) {
     ["_name":protected]=>
     string(11) "share_owner"
     ["_type":protected]=>
     string(6) "string"
     ["_null":protected]=>
     bool(false)
     ["_limit":protected]=>
     int(255)
     ["_precision":protected]=>
     NULL
     ["_scale":protected]=>
     NULL
     ["_unsigned":protected]=>
     bool(false)
     ["_default":protected]=>
     NULL
     ["_sqlType":protected]=>
     string(12) "varchar(255)"
     ["_isText":protected]=>
     bool(true)
     ["_isNumber":protected]=>
     bool(false)
   }
   ["share_flags"]=>
   object(Horde_Db_Adapter_Sqlite_Column)#210 (11) {
     ["_name":protected]=>
     string(11) "share_flags"
     ["_type":protected]=>
     string(7) "integer"
     ["_null":protected]=>
     bool(false)
     ["_limit":protected]=>
     NULL
     ["_precision":protected]=>
     NULL
     ["_scale":protected]=>
     NULL
     ["_unsigned":protected]=>
     bool(false)
     ["_default":protected]=>
     int(0)
     ["_sqlType":protected]=>
     string(3) "int"
     ["_isText":protected]=>
     bool(false)
     ["_isNumber":protected]=>
     bool(true)
   }
   ["perm_creator"]=>
   object(Horde_Db_Adapter_Sqlite_Column)#213 (11) {
     ["_name":protected]=>
     string(12) "perm_creator"
     ["_type":protected]=>
     string(7) "integer"
     ["_null":protected]=>
     bool(false)
     ["_limit":protected]=>
     NULL
     ["_precision":protected]=>
     NULL
     ["_scale":protected]=>
     NULL
     ["_unsigned":protected]=>
     bool(false)
     ["_default":protected]=>
     int(0)
     ["_sqlType":protected]=>
     string(3) "int"
     ["_isText":protected]=>
     bool(false)
     ["_isNumber":protected]=>
     bool(true)
   }
   ["perm_default"]=>
   object(Horde_Db_Adapter_Sqlite_Column)#214 (11) {
     ["_name":protected]=>
     string(12) "perm_default"
     ["_type":protected]=>
     string(7) "integer"
     ["_null":protected]=>
     bool(false)
     ["_limit":protected]=>
     NULL
     ["_precision":protected]=>
     NULL
     ["_scale":protected]=>
     NULL
     ["_unsigned":protected]=>
     bool(false)
     ["_default":protected]=>
     int(0)
     ["_sqlType":protected]=>
     string(3) "int"
     ["_isText":protected]=>
     bool(false)
     ["_isNumber":protected]=>
     bool(true)
   }
   ["perm_guest"]=>
   object(Horde_Db_Adapter_Sqlite_Column)#215 (11) {
     ["_name":protected]=>
     string(10) "perm_guest"
     ["_type":protected]=>
     string(7) "integer"
     ["_null":protected]=>
     bool(false)
     ["_limit":protected]=>
     NULL
     ["_precision":protected]=>
     NULL
     ["_scale":protected]=>
     NULL
     ["_unsigned":protected]=>
     bool(false)
     ["_default":protected]=>
     int(0)
     ["_sqlType":protected]=>
     string(3) "int"
     ["_isText":protected]=>
     bool(false)
     ["_isNumber":protected]=>
     bool(true)
   }
   ["attribute_name"]=>
   object(Horde_Db_Adapter_Sqlite_Column)#216 (11) {
     ["_name":protected]=>
     string(14) "attribute_name"
     ["_type":protected]=>
     string(6) "string"
     ["_null":protected]=>
     bool(false)
     ["_limit":protected]=>
     int(255)
     ["_precision":protected]=>
     NULL
     ["_scale":protected]=>
     NULL
     ["_unsigned":protected]=>
     bool(false)
     ["_default":protected]=>
     NULL
     ["_sqlType":protected]=>
     string(12) "varchar(255)"
     ["_isText":protected]=>
     bool(true)
     ["_isNumber":protected]=>
     bool(false)
   }
   ["attribute_desc"]=>
   object(Horde_Db_Adapter_Sqlite_Column)#217 (11) {
     ["_name":protected]=>
     string(14) "attribute_desc"
     ["_type":protected]=>
     string(6) "string"
     ["_null":protected]=>
     bool(true)
     ["_limit":protected]=>
     int(255)
     ["_precision":protected]=>
     NULL
     ["_scale":protected]=>
     NULL
     ["_unsigned":protected]=>
     bool(false)
     ["_default":protected]=>
     NULL
     ["_sqlType":protected]=>
     string(12) "varchar(255)"
     ["_isText":protected]=>
     bool(true)
     ["_isNumber":protected]=>
     bool(false)
   }
   ["attribute_params"]=>
   object(Horde_Db_Adapter_Sqlite_Column)#218 (11) {
     ["_name":protected]=>
     string(16) "attribute_params"
     ["_type":protected]=>
     string(4) "text"
     ["_null":protected]=>
     bool(true)
     ["_limit":protected]=>
     NULL
     ["_precision":protected]=>
     NULL
     ["_scale":protected]=>
     NULL
     ["_unsigned":protected]=>
     bool(false)
     ["_default":protected]=>
     NULL
     ["_sqlType":protected]=>
     string(4) "text"
     ["_isText":protected]=>
     bool(true)
     ["_isNumber":protected]=>
     bool(false)
   }
   ["share_parents"]=>
   object(Horde_Db_Adapter_Sqlite_Column)#219 (11) {
     ["_name":protected]=>
     string(13) "share_parents"
     ["_type":protected]=>
     string(4) "text"
     ["_null":protected]=>
     bool(true)
     ["_limit":protected]=>
     NULL
     ["_precision":protected]=>
     NULL
     ["_scale":protected]=>
     NULL
     ["_unsigned":protected]=>
     bool(false)
     ["_default":protected]=>
     NULL
     ["_sqlType":protected]=>
     string(4) "text"
     ["_isText":protected]=>
     bool(true)
     ["_isNumber":protected]=>
     bool(false)
   }
}





More information about the bugs mailing list