summaryrefslogtreecommitdiff
path: root/priv/repo/migrations
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-09-29 20:07:37 +0000
committerrinpatch <rinpatch@sdf.org>2019-09-29 20:07:37 +0000
commit90537f398160eddfb8033c1cdfe1acc21ee63c4a (patch)
treede6c7854f6ca3daea830caec9d13672fe6c4ec15 /priv/repo/migrations
parent6d74a7528c31e6215d808627f1c393ab53d99782 (diff)
parente9d1aa75d5dc0859b692e891f6e65949208a5f0f (diff)
downloadpleroma-90537f398160eddfb8033c1cdfe1acc21ee63c4a.tar.gz
pleroma-90537f398160eddfb8033c1cdfe1acc21ee63c4a.zip
Merge branch 'revert/subscription-refactoring' into 'develop'
Revert subscription refactoring. See merge request pleroma/pleroma!1741
Diffstat (limited to 'priv/repo/migrations')
-rw-r--r--priv/repo/migrations/20190824195028_create_subscription_notifications.exs15
1 files changed, 0 insertions, 15 deletions
diff --git a/priv/repo/migrations/20190824195028_create_subscription_notifications.exs b/priv/repo/migrations/20190824195028_create_subscription_notifications.exs
deleted file mode 100644
index fcceb4386..000000000
--- a/priv/repo/migrations/20190824195028_create_subscription_notifications.exs
+++ /dev/null
@@ -1,15 +0,0 @@
-defmodule Pleroma.Repo.Migrations.CreateSubscriptionNotifications do
- use Ecto.Migration
-
- def change do
- create_if_not_exists table(:subscription_notifications) do
- add(:user_id, references(:users, type: :uuid, on_delete: :delete_all))
- add(:activity_id, references(:activities, type: :uuid, on_delete: :delete_all))
-
- timestamps()
- end
-
- create_if_not_exists(index(:subscription_notifications, [:user_id]))
- create_if_not_exists(index(:subscription_notifications, ["id desc nulls last"]))
- end
-end