<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mofmof-inc</author_name>
  <author_url>https://blog.hatena.ne.jp/mofmof-inc/</author_url>
  <blog_title>もふもふ技術部</blog_title>
  <blog_url>https://www.mof-mof.co.jp/tech-blog/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Ruby</anon>
    <anon>PostgreSQL</anon>
    <anon>UUID</anon>
  </categories>
  <description>Railsアプリへのuuidの適用方法 postgresqlのuuid拡張機能を有効化 initializers内でprimary keyのデフォルト値をuuid化 バージョン スキーマ users events event_participants マイグレーション まとめ Railsアプリへのuuidの適用方法 Railsアプリへのuuid適用方法などは、弊社の技術記事[Rails] モデルのIDにUUIDを使って玄人感を出すで既に書かれているので省略します。 今回は既存テーブルのidを変更するため、どのようにマイグレーションするか？がメインです。 uuidをrailsアプリに適用するコー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mof-mof.co.jp%2Ftech-blog%2Frails-change-uuid&quot; title=&quot;create済みのモデルのIDをUUIDに変更してみた - もふもふ技術部&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>2020-12-09 13:00:00</published>
  <title>create済みのモデルのIDをUUIDに変更してみた</title>
  <type>rich</type>
  <url>https://www.mof-mof.co.jp/tech-blog/rails-change-uuid</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
