Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

18 satır
550B

  1. defmodule Pleroma.Repo.Migrations.SetNotNullForConversationParticipationRecipientShips do
  2. use Ecto.Migration
  3. # modify/3 function will require index recreation, so using execute/1 instead
  4. def up do
  5. execute("ALTER TABLE conversation_participation_recipient_ships
  6. ALTER COLUMN user_id SET NOT NULL,
  7. ALTER COLUMN participation_id SET NOT NULL")
  8. end
  9. def down do
  10. execute("ALTER TABLE conversation_participation_recipient_ships
  11. ALTER COLUMN user_id DROP NOT NULL,
  12. ALTER COLUMN participation_id DROP NOT NULL")
  13. end
  14. end