Rename session and user tables

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-03-11 09:43:58 +01:00
parent 5bdc474aef
commit 1f4675f692
3 changed files with 9 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ SELECT
created_at,
updated_at
FROM
usrmgr_users
users
WHERE
email_address = @user_email
LIMIT 1;
@@ -91,7 +91,7 @@ SELECT
created_at,
updated_at
FROM
usrmgr_users
users
WHERE
id = @user_id
LIMIT 1;
@@ -120,7 +120,7 @@ func (u *User) Insert(
) error {
q := `
INSERT INTO
usrmgr_users (id, email_address, hashed_password, fullname, created_at, updated_at)
users (id, email_address, hashed_password, fullname, created_at, updated_at)
VALUES (
@user_id,
@email_address,