Skip to content

Commit 4b242a3

Browse files
update js user server actions mysql user table schema
1 parent 52c14e1 commit 4b242a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/js-user-server-actions-sql-mysql_js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
CREATE TABLE app_user (
3-
id VARCHAR(0) COLLATE utf8mb4_bin PRIMARY KEY, -- TODO: set type (can be ascii)
4-
email_address VARCHAR(100) COLLATE utf8mb4_bin NOT NULL UNIQUE, -- can be ascii
3+
id VARCHAR(0) COLLATE utf8mb4_bin PRIMARY KEY, -- TODO: set type (can be ascii), use binary collation
4+
email_address VARCHAR(100) COLLATE utf8mb4_bin NOT NULL UNIQUE, -- NOTE: can be ascii, use binary collation
55
password_hash VARBINARY(255) NOT NULL,
66
password_salt VARBINARY(255) NOT NULL,
77
password_hash_algorithm_id VARCHAR(127) NOT NULL,

0 commit comments

Comments
 (0)