mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-13 22:22:17 +00:00
12 lines
244 B
Elixir
12 lines
244 B
Elixir
|
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
|