frenzy/priv/repo/migrations/20190328203923_create_appro...

16 lines
330 B
Elixir
Raw Permalink Normal View History

2019-03-28 21:11:25 +00:00
defmodule Frenzy.Repo.Migrations.CreateApprovedClients do
use Ecto.Migration
def change do
create table(:approved_clients) do
add :client_id, :string
add :auth_code, :string
add :access_token, :string
add :user_id, references(:users, on_delete: :delete_all)
timestamps()
end
end
end