bonfire-app/flavours/community/repo/migrations/20210402105128_ap_test_table.exs
2023-03-02 18:56:54 +13:00

17 lines
417 B
Elixir

defmodule ActivityPub.Repo.Migrations.APTestTable do
@moduledoc false
use Ecto.Migration
def change do
# This table only exists for test purposes
create table("local_actor", primary_key: false) do
add(:id, :uuid, primary_key: true)
add(:username, :citext)
add(:data, :map)
add(:local, :boolean)
add(:keys, :text)
add(:followers, {:array, :string})
end
end
end