aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/db/specific/mariadb
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/db/specific/mariadb')
-rw-r--r--src/main/resources/db/specific/mariadb/V1.27__followers_unique.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/resources/db/specific/mariadb/V1.27__followers_unique.sql b/src/main/resources/db/specific/mariadb/V1.27__followers_unique.sql
new file mode 100644
index 00000000..e103d1a0
--- /dev/null
+++ b/src/main/resources/db/specific/mariadb/V1.27__followers_unique.sql
@@ -0,0 +1 @@
+ALTER TABLE followers ADD UNIQUE (user_id, acct) \ No newline at end of file