Add option to modify HTTP pool size
[akkoma] / priv / repo / migrations / 20210105195018_create_data_migrations.exs
1 defmodule Pleroma.Repo.Migrations.CreateDataMigrations do
2 use Ecto.Migration
3
4 def change do
5 create_if_not_exists table(:data_migrations) do
6 add(:name, :string, null: false)
7 add(:state, :integer, default: 1)
8 add(:feature_lock, :boolean, default: false)
9 add(:params, :map, default: %{})
10 add(:data, :map, default: %{})
11
12 timestamps()
13 end
14
15 create_if_not_exists(unique_index(:data_migrations, [:name]))
16 end
17 end