Add ability to set a default post expiry (#321)
[akkoma] / priv / repo / migrations / 20170906120646_add_mastodon_apps.exs
1 defmodule Pleroma.Repo.Migrations.AddMastodonApps do
2 use Ecto.Migration
3
4 def change do
5 create_if_not_exists table(:apps) do
6 add(:client_name, :string)
7 add(:redirect_uris, :string)
8 add(:scopes, :string)
9 add(:website, :string)
10 add(:client_id, :string)
11 add(:client_secret, :string)
12
13 timestamps()
14 end
15 end
16 end