diff options
| author | Mark Felder <feld@FreeBSD.org> | 2020-07-09 09:08:59 -0500 | 
|---|---|---|
| committer | Mark Felder <feld@FreeBSD.org> | 2020-07-09 09:08:59 -0500 | 
| commit | 49c4e2495357797caa82b4eb0a4d03e8c8dd2730 (patch) | |
| tree | 7295ba98c7833534622a9c7fb27580691fbc06a5 /priv/repo/migrations | |
| parent | da4029391d217b1e2c151e69479de42e2221e02f (diff) | |
| parent | 8ca1f3e8c61b906387e9cb6fb8993d2ad496ab3d (diff) | |
| download | pleroma-49c4e2495357797caa82b4eb0a4d03e8c8dd2730.tar.gz pleroma-49c4e2495357797caa82b4eb0a4d03e8c8dd2730.zip | |
Merge branch 'develop' into fix/csp-for-captcha
Diffstat (limited to 'priv/repo/migrations')
| -rw-r--r-- | priv/repo/migrations/20200706060258_remove_tesla_from_config.exs | 10 | ||||
| -rw-r--r-- | priv/repo/migrations/20200707112859_instances_add_favicon.exs | 10 | 
2 files changed, 20 insertions, 0 deletions
| diff --git a/priv/repo/migrations/20200706060258_remove_tesla_from_config.exs b/priv/repo/migrations/20200706060258_remove_tesla_from_config.exs new file mode 100644 index 000000000..798687f8a --- /dev/null +++ b/priv/repo/migrations/20200706060258_remove_tesla_from_config.exs @@ -0,0 +1,10 @@ +defmodule Pleroma.Repo.Migrations.RemoveTeslaFromConfig do +  use Ecto.Migration + +  def up do +    execute("DELETE FROM config WHERE config.group = ':tesla'") +  end + +  def down do +  end +end diff --git a/priv/repo/migrations/20200707112859_instances_add_favicon.exs b/priv/repo/migrations/20200707112859_instances_add_favicon.exs new file mode 100644 index 000000000..5538749dc --- /dev/null +++ b/priv/repo/migrations/20200707112859_instances_add_favicon.exs @@ -0,0 +1,10 @@ +defmodule Pleroma.Repo.Migrations.InstancesAddFavicon do +  use Ecto.Migration + +  def change do +    alter table(:instances) do +      add(:favicon, :string) +      add(:favicon_updated_at, :naive_datetime) +    end +  end +end | 
