bonfire-app/flavours/classic/repo/migrations/20210402105128_ap_test_table.exs
Mayel de Borniol 0ef85e77f9 auto-format
2022-09-12 16:34:14 +12:00

16 lines
398 B
Elixir
Executable file

defmodule ActivityPub.Repo.Migrations.APTestTable do
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