You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
342 B
16 lines
342 B
8 years ago
|
defmodule Pleroma.Repo.Migrations.CreateWebsubClientSubscription do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
create table(:websub_client_subscriptions) do
|
||
|
add :topic, :string
|
||
|
add :secret, :string
|
||
|
add :valid_until, :naive_datetime
|
||
|
add :state, :string
|
||
|
add :subscribers, :map
|
||
|
|
||
|
timestamps()
|
||
|
end
|
||
|
end
|
||
|
end
|