feat (user): adjust for auth, hide pass

This commit is contained in:
dpurbosakti
2025-08-19 14:26:19 +07:00
parent 0c5aa0becf
commit f80cba1cf5
20 changed files with 305 additions and 35 deletions
+7 -2
View File
@@ -47,7 +47,12 @@ corsCfg:
allowedMethod:
satuSehatCfg:
host: localhsot:8200
host: localhost:8200
bpjsCfg:
host: localhsot:8200
host: localhost:8200
corsCfg:
allowedOrigins:
- http://example.com
allowedMethod:
@@ -0,0 +1,15 @@
-- Create "User" table
CREATE TABLE "public"."User" (
"Id" bigserial NOT NULL,
"CreatedAt" timestamptz NULL,
"UpdatedAt" timestamptz NULL,
"DeletedAt" timestamptz NULL,
"Name" character varying(25) NOT NULL,
"Password" character varying(255) NOT NULL,
"Status_Code" character varying(10) NOT NULL,
"FailedLoginCount" smallint NULL,
"LoginAttemptCount" bigint NULL,
"LastSuccessLogin" timestamptz NULL,
"LastAllowdLogin" timestamptz NULL,
PRIMARY KEY ("Id")
);
+2
View File
@@ -0,0 +1,2 @@
h1:TslQ6d3/z4H6DQJvWAGwP3IVSAr/qYOosLEmorZhYx0=
20250819053416.sql h1:kYIqQm8dEYH+feZEHrCekuEvwKl3h1W4zlIpPAWn3W8=