Merge pull request 'Add dark and light theme mode to docs, detection, and button...
[akkoma] / priv / repo / migrations / 20220916115149_ensure_mastofe_settings.exs
1 defmodule Pleroma.Repo.Migrations.EnsureMastofeSettings do
2 use Ecto.Migration
3
4 def up do
5 alter table(:users) do
6 add_if_not_exists(:mastofe_settings, :map)
7 end
8 end
9
10 def down do
11 alter table(:users) do
12 remove_if_exists(:mastofe_settings, :map)
13 end
14 end
15 end