mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-28 19:06:23 +00:00
20cd1bb579
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
17 lines
418 B
Elixir
17 lines
418 B
Elixir
defmodule Eventos.Repo.Migrations.Guardian.DB do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create table(:guardian_tokens, primary_key: false) do
|
|
add(:jti, :string, primary_key: true)
|
|
add(:aud, :string, primary_key: true)
|
|
add(:typ, :string)
|
|
add(:iss, :string)
|
|
add(:sub, :string)
|
|
add(:exp, :bigint)
|
|
add(:jwt, :text)
|
|
add(:claims, :map)
|
|
timestamps()
|
|
end
|
|
end
|
|
end
|