summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20240406000000_add_hint_to_rules.exs
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2024-05-15 20:29:04 +0000
committerfeld <feld@feld.me>2024-05-15 20:29:04 +0000
commit53ef576739939aec40279269fa424262951d9f7e (patch)
treea4dc25252cda250fc122769a625519c31397fdc9 /priv/repo/migrations/20240406000000_add_hint_to_rules.exs
parent8da103da572cdee8f10b2d753b307636e1431835 (diff)
parentccc3ac241f5b7c88b36efe60a4f9e5d791d2d49a (diff)
downloadpleroma-53ef576739939aec40279269fa424262951d9f7e.tar.gz
pleroma-53ef576739939aec40279269fa424262951d9f7e.zip
Merge branch 'instance_rules' into 'develop'
Instance rules See merge request pleroma/pleroma!3669
Diffstat (limited to 'priv/repo/migrations/20240406000000_add_hint_to_rules.exs')
-rw-r--r--priv/repo/migrations/20240406000000_add_hint_to_rules.exs13
1 files changed, 13 insertions, 0 deletions
diff --git a/priv/repo/migrations/20240406000000_add_hint_to_rules.exs b/priv/repo/migrations/20240406000000_add_hint_to_rules.exs
new file mode 100644
index 000000000..273290560
--- /dev/null
+++ b/priv/repo/migrations/20240406000000_add_hint_to_rules.exs
@@ -0,0 +1,13 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2024 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
+defmodule Pleroma.Repo.Migrations.AddHintToRules do
+ use Ecto.Migration
+
+ def change do
+ alter table(:rules) do
+ add_if_not_exists(:hint, :text)
+ end
+ end
+end