'id', 'type' => 'bigint', 'length' => '20', 'unsigned' => true, 'extra' => 'auto_increment', 'primary' => true, 'sortable' => true ), // object_id array( 'name' => 'object_id', 'type' => 'bigint', 'length' => '20', 'unsigned' => true, 'default' => '0', 'sortable' => true ), // object_type array( 'name' => 'object_type', 'type' => 'varchar', 'length' => '20', 'default' => '', 'sortable' => true ), // transaction_id array( 'name' => 'transaction_id', 'type' => 'varchar', 'length' => '256', 'cache_key' => true, 'searchable' => true, 'sortable' => true ), // gateway array( 'name' => 'gateway', 'type' => 'varchar', 'length' => '20', 'sortable' => true, ), // status array( 'name' => 'status', 'type' => 'varchar', 'length' => '20', 'default' => 'pending', 'sortable' => true, 'transition' => true ), // total array( 'name' => 'total', 'type' => 'decimal', 'length' => '18,9', 'default' => '0', 'sortable' => true ), // rate array( 'name' => 'rate', 'type' => 'decimal', 'length' => '10,5', 'default' => '1.00000', ), // date_created array( 'name' => 'date_created', 'type' => 'datetime', 'default' => '', // Defaults to current time in query class 'created' => true, 'date_query' => true, 'sortable' => true ), // date_modified array( 'name' => 'date_modified', 'type' => 'datetime', 'default' => '', // Defaults to current time in query class 'modified' => true, 'date_query' => true, 'sortable' => true ), // uuid array( 'uuid' => true, ) ); }