{"categories":["elixir"],"provider_url":"https://hatena.blog","width":"100%","version":"1.0","published":"2016-02-16 12:33:33","type":"rich","description":"Ecto.Migration \u2013 Ecto v2.0.0-beta.0 execute\u4f7f\u304a... defmodule MyApp.Repo.Migrations.CreateProviderTable do use Ecto.Migration def change do create table(:providers) do add :name, :string timestamps end create unique_index(:providers, [:name]) # Ensure standard rows execute \"INSERT INTO providers (id, n\u2026","height":"190","provider_name":"Hatena Blog","url":"https://otiai10.hatenablog.com/entry/2016/02/16/123333","blog_url":"https://otiai10.hatenablog.com/","author_name":"otiai10","title":"Ecto.Migration\u5185\u3067INSERT\u3059\u308b","author_url":"https://blog.hatena.ne.jp/otiai10/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fotiai10.hatenablog.com%2Fentry%2F2016%2F02%2F16%2F123333\" title=\"Ecto.Migration\u5185\u3067INSERT\u3059\u308b - DRY\u306a\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"blog_title":"DRY\u306a\u5099\u5fd8\u9332"}