summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20170906152508_create_o_auth_token.exs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-03-20 16:16:29 +0300
committerrinpatch <rinpatch@sdf.org>2019-03-20 16:16:29 +0300
commite59cfa7cacd48d699e42b63eb9ec9503d72083a2 (patch)
tree4150a5aa6198d05f1516f58b0c6a36188b31920b /priv/repo/migrations/20170906152508_create_o_auth_token.exs
parentcbc4a76b43c1342ba2a2ddc03db113c403688e8b (diff)
downloadpleroma-e59cfa7cacd48d699e42b63eb9ec9503d72083a2.tar.gz
pleroma-e59cfa7cacd48d699e42b63eb9ec9503d72083a2.zip
modify the migrations to use naive_datetime_usec
Diffstat (limited to 'priv/repo/migrations/20170906152508_create_o_auth_token.exs')
-rw-r--r--priv/repo/migrations/20170906152508_create_o_auth_token.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/repo/migrations/20170906152508_create_o_auth_token.exs b/priv/repo/migrations/20170906152508_create_o_auth_token.exs
index 7f8550f33..ed56bbf36 100644
--- a/priv/repo/migrations/20170906152508_create_o_auth_token.exs
+++ b/priv/repo/migrations/20170906152508_create_o_auth_token.exs
@@ -7,7 +7,7 @@ defmodule Pleroma.Repo.Migrations.CreateOAuthToken do
add :user_id, references(:users)
add :token, :string
add :refresh_token, :string
- add :valid_until, :naive_datetime
+ add :valid_until, :naive_datetime_usec
timestamps()
end