@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
at upstream/main 37 lines 767 B view raw
1<?php 2 3final class PhabricatorStorageSchemaSpec 4 extends PhabricatorConfigSchemaSpec { 5 6 public function buildSchemata() { 7 $this->buildRawSchema( 8 'meta_data', 9 'patch_status', 10 array( 11 'patch' => 'text128', 12 'applied' => 'uint32', 13 'duration' => 'uint64?', 14 ), 15 array( 16 'PRIMARY' => array( 17 'columns' => array('patch'), 18 'unique' => true, 19 ), 20 )); 21 22 $this->buildRawSchema( 23 'meta_data', 24 PhabricatorStorageManagementAPI::TABLE_HOSTSTATE, 25 array( 26 'stateKey' => 'text128', 27 'stateValue' => 'text', 28 ), 29 array( 30 'PRIMARY' => array( 31 'columns' => array('stateKey'), 32 'unique' => true, 33 ), 34 )); 35 } 36 37}