company_farm_pic 958 B

1234567891011121314151617
  1. <?php return array (
  2. 'time' => 1449934204,
  3. 'table' => 'company_farm_pic',
  4. 'create' => 'DROP TABLE IF EXISTS `company_farm_pic`;CREATE TABLE `company_farm_pic`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'ID\',`company` INT(11) NOT NULL DEFAULT 0 COMMENT \'所属公司\',`farm_id` INT(11) NOT NULL DEFAULT 0 COMMENT \'所属农场\',`name` VARCHAR(32) NOT NULL DEFAULT \'\' COMMENT \'图片名\',`pic` VARCHAR(150) NOT NULL DEFAULT \'\' COMMENT \'展示图片-320X180\',`reorder` INT(11) NOT NULL DEFAULT \'1\' COMMENT \'排序-数值越大越靠前\',`type` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'类型\',`state` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'状态\',`cdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'录入时间\')',
  5. 'struct' =>
  6. array (
  7. 'id' => 0,
  8. 'company' => 1,
  9. 'farm_id' => 2,
  10. 'name' => 3,
  11. 'pic' => 4,
  12. 'reorder' => 5,
  13. 'type' => 6,
  14. 'state' => 7,
  15. 'cdate' => 8,
  16. ),
  17. );