Register endpoint doesn't set patronymic to DB #120

Closed
opened 2026-02-05 01:51:36 +00:00 by kudyakovaa · 1 comment
kudyakovaa commented 2026-02-05 01:51:36 +00:00 (Migrated from git.csit.sgu.ru)

internal/pg/users.go:

	createUserSQL = `
		INSERT INTO users (first_name, last_name, username, email, role, password_hash, password_salt, created_at)
		VALUES (:first_name, :last_name, :username, :email, :role, :password_hash, :password_salt, :created_at)
		RETURNING id, created_at
	`
`internal/pg/users.go`: ```golang createUserSQL = ` INSERT INTO users (first_name, last_name, username, email, role, password_hash, password_salt, created_at) VALUES (:first_name, :last_name, :username, :email, :role, :password_hash, :password_salt, :created_at) RETURNING id, created_at ` ```
EzhkinKot_placeholder_1gwq8aj commented 2026-02-05 17:14:09 +00:00 (Migrated from git.csit.sgu.ru)

mentioned in merge request !251

mentioned in merge request !251
EzhkinKot_placeholder_1gwq8aj (Migrated from git.csit.sgu.ru) closed this issue 2026-03-06 16:41:57 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dsc/mm-backend#120
No description provided.