projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add an index on object likes
[akkoma]
/
priv
/
repo
/
migrations
/
20170426154155_create_websub_client_subscription.exs
diff --git
a/priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
b/priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
index 89d3af7aee5ff7ac67c47c44b50f3fc29213c270..4b79d7506203ef15067a1dfa47d32d72458e568c 100644
(file)
--- a/
priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
+++ b/
priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
@@
-2,7
+2,7
@@
defmodule Pleroma.Repo.Migrations.CreateWebsubClientSubscription do
use Ecto.Migration
def change do
- create table(:websub_client_subscriptions) do
+ create
_if_not_exists
table(:websub_client_subscriptions) do
add :topic, :string
add :secret, :string
add :valid_until, :naive_datetime_usec