<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>JunichiIto</author_name>
  <author_url>https://blog.hatena.ne.jp/JunichiIto/</author_url>
  <blog_title>give IT a try</blog_title>
  <blog_url>https://blog.jnito.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>はじめに 自分用のメモです。 Railsでカラムのデータ型を変更する場合の手順を載せておきます。 関連するインデックスやHeroku Schedulerなどは人によっては使っていないと思いますが、そのあたりは臨機応変に読み替えてください。 実行環境 Rails 3.2 ローカル環境: Sqlite ステージング環境: Heroku Cedar + PostgreSQL 手順 概要 先に手順の概要をリストアップするとこんな感じです。 以前のエントリでも書きましたが、change_columnでいきなり既存のカラムのデータ型を変更しようとするとPostgreSQLでエラーが発生するので、ちょっと面…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.jnito.com%2Fentry%2F20120514%2F1336951768&quot; title=&quot;Railsでカラムのデータ型を変更する場合の手順 - give IT a try&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>2012-05-14 08:29:28</published>
  <title>Railsでカラムのデータ型を変更する場合の手順</title>
  <type>rich</type>
  <url>https://blog.jnito.com/entry/20120514/1336951768</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
