about summary refs log tree commit diff stats
path: root/sql/pgsql/migrations/3.sql
diff options
context:
space:
mode:
authorfox <fox@fakecake.org>2026-06-21 14:51:01 +0300
committerfox <fox@fakecake.org>2026-06-21 14:51:01 +0300
commit8e569855249dda7a17402e5ae20044e8149d992e (patch)
tree6a6acc9a378e2402d048a02e47b5ab99dc5247e2 /sql/pgsql/migrations/3.sql
parent23ca9695d1b38c7a27cf132d517a6ed6b19f607a (diff)
parent17296a2ef8fa2658dca471285bce40ee67469179 (diff)
downloadthe-epube-8e569855249dda7a17402e5ae20044e8149d992e.tar.gz
the-epube-8e569855249dda7a17402e5ae20044e8149d992e.tar.xz
Merge branch 'dev' into 'master'
rework login throttling to use database field check instead of APCu

See merge request git/the-epube!64
Diffstat (limited to 'sql/pgsql/migrations/3.sql')
-rw-r--r--sql/pgsql/migrations/3.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/pgsql/migrations/3.sql b/sql/pgsql/migrations/3.sql
new file mode 100644
index 0000000..e23d0ca
--- /dev/null
+++ b/sql/pgsql/migrations/3.sql
@@ -0,0 +1,2 @@
+alter table epube_users add column last_auth_attempt bigint default null;
+create index epube_users_last_auth_attempt on epube_users(last_auth_attempt);