projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Connection Pool: fix LRFU implementation to not actually be LRU
[akkoma]
/
priv
/
repo
/
migrations
/
20170906152508_create_o_auth_token.exs
1
defmodule Pleroma.Repo.Migrations.CreateOAuthToken do
2
use Ecto.Migration
3
4
def change do
5
create_if_not_exists table(:oauth_tokens) do
6
add(:app_id, references(:apps))
7
add(:user_id, references(:users))
8
add(:token, :string)
9
add(:refresh_token, :string)
10
add(:valid_until, :naive_datetime_usec)
11
12
timestamps()
13
end
14
end
15
end