_create_ssss1234(); } /** * 创建数据对象 * @class Ssss1234 * @table ssss1234 * @return void */ private function _create_ssss1234() { // 创建数据表对象 $table = $this->table('ssss1234', [ 'engine' => 'InnoDB', 'collation' => 'utf8mb4_general_ci', 'comment' => '', ]); // 创建或更新数据表 PhinxExtend::upgrade($table, [ ['order', 'string', ['limit' => 255, 'default' => NULL, 'null' => true, 'comment' => '']], ['产品类型', 'string', ['limit' => 255, 'default' => NULL, 'null' => true, 'comment' => '']], ['面值', 'integer', ['default' => NULL, 'null' => true, 'comment' => '']], ['卡号', 'string', ['limit' => 255, 'default' => NULL, 'null' => true, 'comment' => '']], ['卡密', 'string', ['limit' => 255, 'default' => NULL, 'null' => true, 'comment' => '']], ['过期时间', 'string', ['limit' => 255, 'default' => NULL, 'null' => true, 'comment' => '']], ['status', 'string', ['limit' => 255, 'default' => NULL, 'null' => true, 'comment' => '']], ['备注', 'integer', ['default' => NULL, 'null' => true, 'comment' => '']], ], [ ], false); } }