summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20240406000000_add_hint_to_rules.exs
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2024-05-18 11:16:33 +0200
committermarcin mikołajczak <git@mkljczk.pl>2024-05-18 11:16:33 +0200
commit7620b520c13a1c204810cf0cfe6a7b70b9a1c59d (patch)
treec4a24d0f0a513c697db8d0197e179a70108063d4 /priv/repo/migrations/20240406000000_add_hint_to_rules.exs
parent03d4e7eeccc7fc69c731ada8a7bd049ad52a9d6f (diff)
parent99eab1fa2a39b7a7fba6cdbb92c01e9c7c81aa88 (diff)
downloadpleroma-7620b520c13a1c204810cf0cfe6a7b70b9a1c59d.tar.gz
pleroma-7620b520c13a1c204810cf0cfe6a7b70b9a1c59d.zip
Merge remote-tracking branch 'origin/develop' into post-languages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
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