Skip to content

Commit

Permalink
[#120017617] remove email_code unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
alemata committed May 30, 2016
1 parent 3b091a7 commit 11da5aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
defmodule CredoServer.Repo.Migrations.RemoveUserEmailCode do
use Ecto.Migration

def change do
alter table(:users) do
remove :email_code
end
end
end
1 change: 0 additions & 1 deletion web/models/user.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ defmodule CredoServer.User do
field :username, :string
field :github_token, :string
field :email, :string
field :email_code, :string
field :auth_token, :string
field :auth_expires, Ecto.DateTime
field :synced_at, Ecto.DateTime
Expand Down

0 comments on commit 11da5aa

Please sign in to comment.