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.CreateWebsubServerSubscription do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
create table(:websub_server_subscriptions) do
|
||
|
add :topic, :string
|
||
|
add :callback, :string
|
||
|
add :secret, :string
|
||
|
add :valid_until, :naive_datetime
|
||
|
add :state, :string
|
||
|
|
||
|
timestamps()
|
||
|
end
|
||
|
end
|
||
|
end
|