Pleroma/priv/repo/migrations/20200630162024_rename_user_settings_col.exs

12 lines
244 B
Elixir
Raw Normal View History

defmodule Pleroma.Repo.Migrations.RenameUserSettingsCol do
use Ecto.Migration
def up do
rename(table(:users), :settings, to: :mastofe_settings)
end
def down do
rename(table(:users), :mastofe_settings, to: :settings)
end
end