clacks/priv/repo/migrations/20190929031943_create_actor...

17 lines
321 B
Elixir

defmodule Clacks.Repo.Migrations.CreateActors do
use Ecto.Migration
def change do
create table(:actors, primary_key: false) do
add :id, :uuid, primary_key: true
add :ap_id, :string
add :nickname, :string
add :local, :boolean
add :data, :jsonb
timestamps()
end
end
end