Add allow_following_move setting to User
This commit is contained in:
parent
61fc739ab8
commit
e6d7e27bd6
10 changed files with 59 additions and 30 deletions
|
|
@ -1,9 +0,0 @@
|
|||
defmodule Pleroma.Repo.Migrations.AddAlsoKnownAsToUsers do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:users) do
|
||||
add(:also_known_as, {:array, :string}, default: [])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
defmodule Pleroma.Repo.Migrations.AddMoveSupportToUsers do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:users) do
|
||||
add(:also_known_as, {:array, :string}, default: [], null: false)
|
||||
add(:allow_following_move, :boolean, default: true, null: false)
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue