migration about user role "pending" - #877
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
defmodule Mobilizon.Storage.Repo.Migrations.AddModerationToUser do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
execute("ALTER TYPE user_role ADD VALUE IF NOT EXISTS 'pending';")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user