<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ShineSpark</author_name>
  <author_url>https://blog.hatena.ne.jp/ShineSpark/</author_url>
  <blog_title>人生シーケンスブレイク</blog_title>
  <blog_url>https://shinespark.hatenablog.com/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>環境 Rails 5.x mysql 5.7 状況 インターネットで調べた User.record_timestamps = false などを行っても、updated_atが更新されてしまった。 mysqlのテーブル情報を確認したら、ON UPDATE CURRENT_TIMESTAMP が付いていた。 `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 対応 updated_at カラムに直接元のupdated_atを指定するSQLを実行したらupdated_atを更新せ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinespark.hatenablog.com%2Fentry%2F2018%2F03%2F11%2F090000&quot; title=&quot;Rails5で、Railsコンソールでupdated_atを更新せずにカラムを更新する - 人生シーケンスブレイク&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/51TODrMIEnL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-03-11 09:00:00</published>
  <title>Rails5で、Railsコンソールでupdated_atを更新せずにカラムを更新する</title>
  <type>rich</type>
  <url>https://shinespark.hatenablog.com/entry/2018/03/11/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
