Basic AP objects.

This commit is contained in:
Roger Braun 2017-03-21 09:21:52 +01:00
commit 8de523c8ae
6 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,14 @@
defmodule Pleroma.Repo.Migrations.CreatePleroma.Activity do
use Ecto.Migration
def change do
create table(:activities) do
add :data, :map
timestamps()
end
create index(:activities, [:data], using: :gin)
end
end

View file

@ -0,0 +1,12 @@
defmodule Pleroma.Repo.Migrations.CreatePleroma.Object do
use Ecto.Migration
def change do
create table(:objects) do
add :data, :map
timestamps()
end
end
end