table('uc_city', ['engine' => 'InnoDB', 'comment' => '市表' ,'id' => 'id','signed' => true ,'primary_key' => ['id']]); $table->addColumn('name', 'string', ['limit' => 50,'null' => true,'signed' => true,'comment' => '名称',]) ->addColumn('is_use', 'boolean', ['null' => true,'signed' => true,'comment' => '是否启用',]) ->addColumn('province_id', 'integer', ['limit' => MysqlAdapter::INT_REGULAR,'null' => true,'signed' => true,'comment' => '所属省份',]) ->create(); } }