feat (user): adjust for auth, hide pass
This commit is contained in:
@@ -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")
|
||||
);
|
||||
@@ -0,0 +1,2 @@
|
||||
h1:TslQ6d3/z4H6DQJvWAGwP3IVSAr/qYOosLEmorZhYx0=
|
||||
20250819053416.sql h1:kYIqQm8dEYH+feZEHrCekuEvwKl3h1W4zlIpPAWn3W8=
|
||||
Reference in New Issue
Block a user