mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-16 16:12:41 +00:00
17 lines
417 B
Elixir
Executable file
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
|