<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakahashi_h</author_name>
  <author_url>https://blog.hatena.ne.jp/nakahashi_h/</author_url>
  <blog_title>websandbag ブログ</blog_title>
  <blog_url>https://blog.websandbag.com/</blog_url>
  <categories>
    <anon>laravel</anon>
  </categories>
  <description>前回に引き続きLaravelのMigrateについてです。 blog.websandbag.com ご覧いただいている方々は、次のような経験がないでしょうか？ 仕様変更で、以前作ったテーブルの型や桁数を変更があった。 その対象のカラムは外部キー制約がされていて、関連するテーブルも一緒に直さないといけない。 稼動前のシステムであれば、テーブル作成時のMigrateファイルを直接書き換えてれば解決します。 しかし、稼動中であったり、チームで開発している場合は得策とは言えません。 さて、 今回はキー制約を解除しつつ、データの型を変える方法について解説します。 イントロダクション この記事で得られるこ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.websandbag.com%2Fentry%2F2018%2F05%2F24%2F170538&quot; title=&quot;【Laravel】テーブルの構成変更にキー制約が絡むMigrateファイルの作り方 - websandbag ブログ&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://cdn-ak.f.st-hatena.com/images/fotolife/n/nakahashi_h/20180506/20180506160600.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-24 17:05:38</published>
  <title>【Laravel】テーブルの構成変更にキー制約が絡むMigrateファイルの作り方</title>
  <type>rich</type>
  <url>https://blog.websandbag.com/entry/2018/05/24/170538</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
