<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>trench</author_name>
  <author_url>https://blog.hatena.ne.jp/trench/</author_url>
  <blog_title>Lazy Technology</blog_title>
  <blog_url>https://trench.hatenadiary.org/</blog_url>
  <categories>
    <anon>rails</anon>
    <anon>activerecord</anon>
  </categories>
  <description>DBMSのカラムタイプはMigrationで定義している抽象化されたシンボルをキーにした各アダプタで定義されたハッシュから取得しているので、このハッシュに定義されていないもの、例えば add_column(table_name, column_name, &quot;tinyint&quot;, options = {}) と言った記述は容赦なくnilとなる（たぶん）。 試してみると、ハッシュにない場合は引数の文字列がそのままカラム名となった。 実際にARのソースを見るとそうなっている。&gt;&gt;|ruby| def type_to_sql(type, limit = nil, precision = nil, sca…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftrench.hatenadiary.org%2Fentry%2F20070429%2F1177865819&quot; title=&quot; MySQLのMigrationで:tinyintを有効にする方法 - Lazy Technology&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-04-29 01:56:59</published>
  <title> MySQLのMigrationで:tinyintを有効にする方法</title>
  <type>rich</type>
  <url>https://trench.hatenadiary.org/entry/20070429/1177865819</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
