Skip to content

Commit

Permalink
Revert unrelated changes to modDbRegisterMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
opengeek committed Feb 16, 2024
1 parent 6e869e5 commit 6ff95b0
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions core/src/Revolution/Registry/Db/mysql/modDbRegisterMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ class modDbRegisterMessage extends \MODX\Revolution\Registry\Db\modDbRegisterMes
'version' => '3.0',
'table' => 'register_messages',
'extends' => 'xPDO\\Om\\xPDOObject',
'tableMeta' =>
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
'fields' =>
array (
'topic' => NULL,
'id' => NULL,
Expand All @@ -29,9 +29,9 @@ class modDbRegisterMessage extends \MODX\Revolution\Registry\Db\modDbRegisterMes
'payload' => NULL,
'kill' => 0,
),
'fieldMeta' =>
'fieldMeta' =>
array (
'topic' =>
'topic' =>
array (
'dbtype' => 'integer',
'precision' => '10',
Expand All @@ -40,36 +40,36 @@ class modDbRegisterMessage extends \MODX\Revolution\Registry\Db\modDbRegisterMes
'null' => false,
'index' => 'pk',
),
'id' =>
'id' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'index' => 'pk',
),
'created' =>
'created' =>
array (
'dbtype' => 'datetime',
'phptype' => 'datetime',
'null' => false,
'index' => 'index',
),
'valid' =>
'valid' =>
array (
'dbtype' => 'datetime',
'phptype' => 'datetime',
'null' => false,
'index' => 'index',
),
'accessed' =>
'accessed' =>
array (
'dbtype' => 'timestamp',
'phptype' => 'timestamp',
'attributes' => 'ON UPDATE CURRENT_TIMESTAMP',
'index' => 'index',
),
'accesses' =>
'accesses' =>
array (
'dbtype' => 'integer',
'precision' => '10',
Expand All @@ -79,7 +79,7 @@ class modDbRegisterMessage extends \MODX\Revolution\Registry\Db\modDbRegisterMes
'default' => 0,
'index' => 'index',
),
'expires' =>
'expires' =>
array (
'dbtype' => 'integer',
'precision' => '20',
Expand All @@ -88,13 +88,13 @@ class modDbRegisterMessage extends \MODX\Revolution\Registry\Db\modDbRegisterMes
'default' => 0,
'index' => 'index',
),
'payload' =>
'payload' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'string',
'null' => false,
),
'kill' =>
'kill' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
Expand All @@ -104,103 +104,103 @@ class modDbRegisterMessage extends \MODX\Revolution\Registry\Db\modDbRegisterMes
'default' => 0,
),
),
'indexes' =>
'indexes' =>
array (
'PRIMARY' =>
'PRIMARY' =>
array (
'alias' => 'PRIMARY',
'primary' => true,
'unique' => true,
'type' => 'BTREE',
'columns' =>
'columns' =>
array (
'topic' =>
'topic' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
'id' =>
'id' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'created' =>
'created' =>
array (
'alias' => 'created',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
'columns' =>
array (
'created' =>
'created' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'valid' =>
'valid' =>
array (
'alias' => 'valid',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
'columns' =>
array (
'valid' =>
'valid' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'accessed' =>
'accessed' =>
array (
'alias' => 'accessed',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
'columns' =>
array (
'accessed' =>
'accessed' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'accesses' =>
'accesses' =>
array (
'alias' => 'accesses',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
'columns' =>
array (
'accesses' =>
'accesses' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'expires' =>
'expires' =>
array (
'alias' => 'expires',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
'columns' =>
array (
'expires' =>
'expires' =>
array (
'length' => '',
'collation' => 'A',
Expand All @@ -209,9 +209,9 @@ class modDbRegisterMessage extends \MODX\Revolution\Registry\Db\modDbRegisterMes
),
),
),
'aggregates' =>
'aggregates' =>
array (
'Topic' =>
'Topic' =>
array (
'class' => 'MODX\\Revolution\\Registry\\Db\\modDbRegisterTopic',
'local' => 'topic',
Expand Down

0 comments on commit 6ff95b0

Please sign in to comment.