fix: don't set metadata until migration (#1886)

This commit is contained in:
Daniel Salazar
2025-11-02 04:42:08 -08:00
committed by GitHub
parent 89a3a3228f
commit 823c06c371
+2 -6
View File
@@ -313,8 +313,7 @@ module.exports = eggspress(['/signup'], {
signup_ip_forwarded,
signup_user_agent,
signup_origin,
signup_server,
metadata
signup_server
)
VALUES
(?,
@@ -331,8 +330,7 @@ module.exports = eggspress(['/signup'], {
?,
?,
?,
?,
?,
?,
?)`,
[
// username
@@ -367,8 +365,6 @@ module.exports = eggspress(['/signup'], {
req.headers['origin'] ?? null,
// signup_server
config.server_id ?? null,
// metadata
JSON.stringify({}),
]);
// record activity