summaryrefslogtreecommitdiff
path: root/priv/repo/migrations
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-07-09 09:08:59 -0500
committerMark Felder <feld@FreeBSD.org>2020-07-09 09:08:59 -0500
commit49c4e2495357797caa82b4eb0a4d03e8c8dd2730 (patch)
tree7295ba98c7833534622a9c7fb27580691fbc06a5 /priv/repo/migrations
parentda4029391d217b1e2c151e69479de42e2221e02f (diff)
parent8ca1f3e8c61b906387e9cb6fb8993d2ad496ab3d (diff)
downloadpleroma-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.exs10
-rw-r--r--priv/repo/migrations/20200707112859_instances_add_favicon.exs10
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