<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                >[danger] 自定時間戳在`數據庫配置文件`中定義 + [自動時間戳官方手冊](http://www.hmoore.net/manual/thinkphp6_0/1037592) ``` config/database.php ``` ![](https://img.kancloud.cn/bc/ad/bcad001504484050431b279dba76280d_794x443.png) >[danger] 官方手冊上說自動時間戳默認關閉 ? + [自動時間戳官方手冊](http://www.hmoore.net/manual/thinkphp6_0/1037592)上說是`默認關閉`的 + 但是在全局數據庫配置文件中默認是`true`(開啟) + 如果是我理解的不到位,可在本章節下方留下評論 ![](https://img.kancloud.cn/80/76/80769048fc74960a0ba024379c1b1c73_899x320.png) >[danger] 自動時間戳的兩種配置支持 + 在配置文件中定義 `auto_timestamp` 配置項 + 如上圖所示:在 config/database.php 中修改 + 在模型類中定義 `protected $autoWriteTimestamp` 屬性 ~~~ // 開啟自動時間戳 // 自動識別: true 指定字段類型: int timestamp datetime date protected $autoWriteTimestamp = true; // 關閉自動時間戳 protected $autoWriteTimestamp = false; ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看