升级之后,后台直接报错

myoppo   ·   发表于 2020-4-19   ·   技术交流

报错为:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'updated' in 'field list'

            $this->debug(false, '', $master);            // 返回结果集            return $this->getResult($pdo, $procedure);        } catch (\PDOException $e) {            if ($this->isBreak($e)) {                return $this->close()->query($sql, $bind, $master, $pdo);            }            throw new PDOException($e, $this->config, $this->getLastsql());        } catch (\Throwable $e) {            if ($this->isBreak($e)) {                return $this->close()->query($sql, $bind, $master, $pdo);            }            throw $e;        } catch (\Exception $e) {            if ($this->isBreak($e)) {                return $this->close()->query($sql, $bind, $master, $pdo);


1 条回复   |  直到 2020-4-19 | 408 次浏览

myoppo
发表于 2020-4-19

解决了,是我自己的原因,数据库有问题,导致更新表字段失败。

评论列表

  • 加载数据中...

编写评论内容
登录后才可发表内容