Skip to content

Instantly share code, notes, and snippets.

@thebrianemory
Last active March 5, 2018 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thebrianemory/ce5c9b016cc1fc2505af351440352ae7 to your computer and use it in GitHub Desktop.
Save thebrianemory/ce5c9b016cc1fc2505af351440352ae7 to your computer and use it in GitHub Desktop.
defmodule Catcasts.Repo.Migrations.AddTokenToUsers do
use Ecto.Migration
def change do
alter table("users") do
add(:token, :string)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment