2019-03-01 10:25:32 +00:00
|
|
|
defmodule Pleroma.Repo.Migrations.AddDefaultTagsToUser do
|
|
|
|
use Ecto.Migration
|
|
|
|
|
|
|
|
def up do
|
2019-10-08 12:16:39 +00:00
|
|
|
execute("UPDATE users SET tags = array[]::varchar[] where tags IS NULL")
|
2019-03-01 10:25:32 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def down, do: :noop
|
|
|
|
end
|