Rename user.settings column
This is used exclusively by MastoFE/GlitchFE now
This commit is contained in:
parent
b9e6ad571a
commit
d69af7f742
4 changed files with 16 additions and 5 deletions
|
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue