Commit 85734c0d authored by Eugenij's avatar Eugenij

Added migration for setting default tags in existing users records

parent 2f008144
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment