diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-07-07 11:13:38 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-07-08 06:28:39 +0200 |
commit | 013e2c505786dff311bcc8bf23631d6a1a1636ef (patch) | |
tree | b3723e7af3582aa5919fa6ee59672767b8f83e69 /priv/repo/migrations/20200707112859_instances_add_favicon.exs | |
parent | 6a679d80c9030afa8327377928f8ac2fcf1a4a0e (diff) | |
download | pleroma-013e2c505786dff311bcc8bf23631d6a1a1636ef.tar.gz pleroma-013e2c505786dff311bcc8bf23631d6a1a1636ef.zip |
Use instances table instead of Cachex
Diffstat (limited to 'priv/repo/migrations/20200707112859_instances_add_favicon.exs')
-rw-r--r-- | priv/repo/migrations/20200707112859_instances_add_favicon.exs | 10 |
1 files changed, 10 insertions, 0 deletions
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 |