* [highgo] Cast type
This commit is contained in:
@@ -16,8 +16,8 @@ $schema->tables['build'] = 'zt_build';
|
||||
|
||||
$schema->joins = array();
|
||||
$schema->joins['product'] = '`release`.`product` = `product`.`id`';
|
||||
$schema->joins['project'] = '`release`.`project` = `project`.`id`';
|
||||
$schema->joins['build'] = '`release`.`build` = `build`.`id`';
|
||||
$schema->joins['project'] = 'CAST(`release`.`project` AS DECIMAL) = `project`.`id`';
|
||||
$schema->joins['build'] = 'CAST(`release`.`build` AS DECIMAL) = `build`.`id`';
|
||||
|
||||
$schema->fields = array();
|
||||
$schema->fields['id'] = array('type' => 'number', 'name' => $this->lang->release->id);
|
||||
|
||||
Reference in New Issue
Block a user