Merge branch 'default-tags-for-existing-users' into 'develop'
Migration for adding tags to the existing users records See merge request pleroma/pleroma!878
このコミットが含まれているのは:
コミット
1fc1b0d935
@ -0,0 +1,9 @@
|
||||
defmodule Pleroma.Repo.Migrations.AddDefaultTagsToUser do
|
||||
use Ecto.Migration
|
||||
|
||||
def up do
|
||||
execute "UPDATE users SET tags = array[]::varchar[] where tags IS NULL"
|
||||
end
|
||||
|
||||
def down, do: :noop
|
||||
end
|
読み込み中…
新しいイシューから参照
ユーザーをブロックする