analytics/priv/repo/migrations/20201214072008_add_theme_pref_to_users.exs

10 lines
202 B
Elixir
Raw Normal View History

defmodule Plausible.Repo.Migrations.AddThemePrefToUsers do
use Ecto.Migration
def change do
alter table(:users) do
add_if_not_exists(:theme, :string, default: "system")
end
end
end