New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Ecto 3.0 #728

Merged
merged 14 commits into from Oct 17, 2018

Remove unnecessary fragment

  • Loading branch information...
wojtekmach committed Oct 10, 2018
commit 21eb0bf8a0c40ae1ccfd5cd2c79eba7d9359fabe
@@ -107,7 +107,7 @@ defmodule Hexpm.Accounts.Key do
where: k.name == ^key_name and not query_revoked(k),
update: [
set: [
revoked_at: fragment("?", ^revoked_at),
revoked_at: ^revoked_at,
updated_at: ^DateTime.utc_now()
]
]
@@ -120,7 +120,7 @@ defmodule Hexpm.Accounts.Key do
where: not query_revoked(k),
update: [
set: [
revoked_at: fragment("?", ^revoked_at),
revoked_at: ^revoked_at,
updated_at: ^DateTime.utc_now()
]
]
ProTip! Use n and p to navigate between commits in a pull request.