'id', 'type' => 'bigint', 'length' => '20', 'unsigned' => true, 'extra' => 'auto_increment', 'primary' => true, 'sortable' => true ), // customer_id array( 'name' => 'customer_id', 'type' => 'bigint', 'length' => '20', 'unsigned' => true, 'default' => '0', 'cache_key' => true ), // type array( 'name' => 'type', 'type' => 'varchar', 'length' => '20', 'default' => 'secondary', 'sortable' => true, 'transition' => true ), // status array( 'name' => 'status', 'type' => 'varchar', 'length' => '20', 'default' => 'active', 'sortable' => true, 'transition' => true ), // email array( 'name' => 'email', 'type' => 'varchar', 'length' => '100', 'default' => '', 'cache_key' => true, 'searchable' => true, 'sortable' => true ), // 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, ) ); }