view schema/updates/1000/01.pwreset.sql @ 4004:79adff625ed8

Let psql treat each schema update script as a file No more semicolon required at the end of each script and psql meta-commands such as \ir can be used, which is especially useful to avoid duplicating DDL in update scripts.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jul 2019 19:46:19 +0200
parents 7b7c324b318f
children
line wrap: on
line source

GRANT INSERT, DELETE, UPDATE ON sys_admin.password_reset_requests TO sys_admin;

ALTER TABLE sys_admin.password_reset_requests
  ADD CONSTRAINT password_reset_requests_username_key UNIQUE(username);