normalise markup by default (#316)
[akkoma] / priv / repo / migrations / 20190518032627_create_config.exs
1 defmodule Pleroma.Repo.Migrations.CreateConfig do
2 use Ecto.Migration
3
4 def change do
5 create_if_not_exists table(:config) do
6 add(:key, :string)
7 add(:value, :binary)
8 timestamps()
9 end
10
11 create_if_not_exists(unique_index(:config, :key))
12 end
13 end