summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20240406000000_add_hint_to_rules.exs
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2024-05-27 19:21:20 +0400
committerLain Soykaf <lain@lain.com>2024-05-27 19:21:20 +0400
commit03d0c5abfba6a334783b46a09d865dba6fde6586 (patch)
treed339c45678a7fb062075c537724b9b71d8944955 /priv/repo/migrations/20240406000000_add_hint_to_rules.exs
parent1ab4ab8d38687634735e1415f395b072718ab1ab (diff)
parente93ae96e1323fae954c2ce482cbb1df9ed9441c6 (diff)
downloadpleroma-03d0c5abfba6a334783b46a09d865dba6fde6586.tar.gz
pleroma-03d0c5abfba6a334783b46a09d865dba6fde6586.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into tusooa/extract-fix
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