PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` hasTable("${prefix}authtoken")) { $authTokenTable = $schema->createTable("${prefix}authtoken"); $authTokenTable->addColumn( 'id', Type::INTEGER, [ 'notnull' => true, 'autoincrement' => 1, 'unsigned' => true ] ); $authTokenTable->addColumn( 'uid', Type::STRING, [ 'length' => 64, 'default' => '', 'notnull' => true ] ); $authTokenTable->addColumn( 'login_name', Type::STRING, [ 'length' => 64, 'default' => '', 'notnull' => true ] ); $authTokenTable->addColumn( 'name', Type::TEXT, [ 'default' => '', 'notnull' => true ] ); $authTokenTable->addColumn( 'token', Type::STRING, [ 'length' => 200, 'default' => '', 'notnull' => true ] ); $authTokenTable->addColumn( 'type', Type::SMALLINT, [ 'unsigned' => true, 'default' => 0, 'notnull' => true ] ); $authTokenTable->addColumn( 'last_activity', Type::INTEGER, [ 'unsigned' => true, 'default' => 0, 'notnull' => true ] ); $authTokenTable->addColumn( 'last_check', Type::INTEGER, [ 'unsigned' => true, 'default' => 0, 'notnull' => true ] ); $authTokenTable->addColumn( 'password', Type::TEXT, [ 'default' => null, 'notnull' => false ] ); $authTokenTable->setPrimaryKey(['id']); $authTokenTable->addIndex(['last_activity'], 'authtoken_last_activity_index'); $authTokenTable->addUniqueIndex(['token'], 'authtoken_token_index'); } if (!$schema->hasTable("${prefix}systemtag_group")) { $systemTagGroupTable = $schema->createTable("${prefix}systemtag_group"); $systemTagGroupTable->addColumn( 'gid', Type::STRING, [ 'length' => 255, 'notnull' => true ] ); $systemTagGroupTable->addColumn( 'systemtagid', Type::INTEGER, [ 'unsigned' => true, 'default' => 0, 'notnull' => true ] ); $systemTagGroupTable->setPrimaryKey(['gid', 'systemtagid']); } if ($schema->hasTable("${prefix}jobs")) { $jobsTable = $schema->getTable("${prefix}jobs"); if (!$jobsTable->hasColumn('last_checked')) { $jobsTable->addColumn( 'last_checked', Type::INTEGER, [ 'default' => 0, 'notnull' => false ] ); } if (!$jobsTable->hasColumn('reserved_at')) { $jobsTable->addColumn( 'reserved_at', Type::INTEGER, [ 'default' => 0, 'notnull' => false ] ); } } if ($schema->hasTable("${prefix}calendarobjects")) { $calendarObjectsTable = $schema->getTable("${prefix}calendarobjects"); if (!$calendarObjectsTable->hasColumn('classification')) { $calendarObjectsTable->addColumn( 'classification', Type::INTEGER, [ 'default' => 0, 'notnull' => false ] ); } if ($calendarObjectsTable->hasColumn('componenttype')) { $componentType = $calendarObjectsTable->getColumn('componenttype'); // TODO: check what happens when this contained data with length > 8 $componentType->setOptions(['length' => 8]); } if ($calendarObjectsTable->hasColumn('firstoccurence')) { $firstOccurence = $calendarObjectsTable->getColumn('firstoccurence'); $firstOccurence->setType(Type::getType(Type::BIGINT)); } if ($calendarObjectsTable->hasColumn('lastoccurence')) { $lastOccurence = $calendarObjectsTable->getColumn('lastoccurence'); $lastOccurence->setType(Type::getType(Type::BIGINT)); } } if ($schema->hasTable("${prefix}calendars")) { $calendarsTable = $schema->getTable("${prefix}calendars"); if ($calendarsTable->hasColumn('components')) { $components = $calendarsTable->getColumn('components'); $components->setOptions(['length' => 20]); } } if ($schema->hasTable("${prefix}calendarsubscriptions")) { $calendarSubscriptionsTable = $schema->getTable("${prefix}calendarsubscriptions"); if ($calendarSubscriptionsTable->hasColumn('lastmodified')) { $lastModified = $calendarSubscriptionsTable->getColumn('lastmodified'); $lastModified->setOptions( [ 'notnull' => true ] ); } } } }