mirror of
https://github.com/xfarrow/blink
synced 2025-02-16 08:00:35 +01:00
add .sql and API usage example
This commit is contained in:
parent
59bbb4cc75
commit
2abf27a7c7
File diff suppressed because one or more lines are too long
17
backend/sql/10-create_request_reset_password.sql
Normal file
17
backend/sql/10-create_request_reset_password.sql
Normal file
@ -0,0 +1,17 @@
|
||||
-- Table: public.RequestResetPassword
|
||||
|
||||
-- DROP TABLE IF EXISTS public."RequestResetPassword";
|
||||
|
||||
CREATE TABLE IF NOT EXISTS public."RequestResetPassword"
|
||||
(
|
||||
id serial,
|
||||
email character varying(128) NOT NULL,
|
||||
secret character varying NOT NULL,
|
||||
time_of_request timestamp with time zone NOT NULL DEFAULT now(),
|
||||
CONSTRAINT "RequestResetPassword_pkey" PRIMARY KEY (id)
|
||||
)
|
||||
|
||||
TABLESPACE pg_default;
|
||||
|
||||
ALTER TABLE IF EXISTS public."RequestResetPassword"
|
||||
OWNER to postgres;
|
Loading…
x
Reference in New Issue
Block a user