Pleroma/priv/repo/migrations/20181214121049_add_bookmark...

10 lines
207 B
Elixir

defmodule Pleroma.Repo.Migrations.AddBookmarksToUsers do
use Ecto.Migration
def change do
alter table(:users) do
add(:bookmarks, {:array, :string}, null: false, default: [])
end
end
end