Commit 1fc1b0d9 authored by kaniini's avatar kaniini

Merge branch 'default-tags-for-existing-users' into 'develop'

Migration for adding tags to the existing users records

See merge request pleroma/pleroma!878
parents 2f008144 85734c0d
defmodule Pleroma.Repo.Migrations.AddDefaultTagsToUser do
use Ecto.Migration
def up do
execute "UPDATE users SET tags = array[]::varchar[] where tags IS NULL"
def down, do: :noop
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