bonfire-app/flavours/classic/repo/migrations/20210402105128_ap_test_table.exs
Mayel de Borniol 1a2c1a7989 misc
2023-02-20 14:09:04 +13:00

17 lines
417 B
Elixir
Executable file

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