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

17 lines
321 B
Elixir
Raw Normal View History

2019-09-29 22:30:59 +00:00
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