analytics/priv/repo/migrations/20201214072008_add_theme_pref_to_users.exs
Uku Taht 81c12884cd
Add elixir action (#526)
* Add elixir action

* Format the codebase

* Add postgresql

* Postgres config

* Run postgres on localhost

* Add clickhouse to CI
2020-12-29 15:17:27 +02:00

10 lines
202 B
Elixir

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