Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85828355
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/priv/repo/migrations/20251124213700_add_include_reblogs_replies_to_user_relationships.exs b/priv/repo/migrations/20260727130000_add_include_reblogs_replies_to_user_relationships.exs
similarity index 72%
rename from priv/repo/migrations/20251124213700_add_include_reblogs_replies_to_user_relationships.exs
rename to priv/repo/migrations/20260727130000_add_include_reblogs_replies_to_user_relationships.exs
index 929809243..c809878cb 100644
--- a/priv/repo/migrations/20251124213700_add_include_reblogs_replies_to_user_relationships.exs
+++ b/priv/repo/migrations/20260727130000_add_include_reblogs_replies_to_user_relationships.exs
@@ -1,14 +1,21 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Repo.Migrations.AddIncludeReblogsRepliesToUserRelationships do
use Ecto.Migration
- def change do
+ def up do
alter table(:user_relationships) do
add_if_not_exists(:include_reblogs, :boolean, default: false, null: false)
add_if_not_exists(:include_replies, :boolean, default: false, null: false)
end
end
+
+ def down do
+ alter table(:user_relationships) do
+ remove_if_exists(:include_reblogs, :boolean)
+ remove_if_exists(:include_replies, :boolean)
+ end
+ end
end
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Oct 31, 6:02 AM (15 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1801100
Default Alt Text
(1 KB)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline