projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
[akkoma]
/
priv
/
repo
/
migrations
/
20170906143140_create_o_auth_authorizations.exs
1
defmodule Pleroma.Repo.Migrations.CreateOAuthAuthorizations do
2
use Ecto.Migration
3
4
def change do
5
create table(:oauth_authorizations) do
6
add :app_id, references(:apps)
7
add :user_id, references(:users)
8
add :token, :string
9
add :valid_until, :naive_datetime
10
add :used, :boolean, default: false
11
12
timestamps()
13
end
14
end
15
end