Merge branch 'feature/lists' into 'develop'

Mastodon List API

See merge request pleroma/pleroma!138
This commit is contained in:
lambda 2018-05-24 20:22:43 +00:00
commit f3a71f2986
8 changed files with 439 additions and 2 deletions

View file

@ -0,0 +1,15 @@
defmodule Pleroma.Repo.Migrations.CreateLists do
use Ecto.Migration
def change do
create table(:lists) do
add :user_id, references(:users, on_delete: :delete_all)
add :title, :string
add :following, {:array, :string}
timestamps()
end
create index(:lists, [:user_id])
end
end