mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Create unique constraints for tmp_password and role_member.
This commit is contained in:
1 parent
e3b5c331be
commit
8fbab49f0d
1 file changed
+6
@@ -54,6 +54,12 @@ CREATE UNIQUE INDEX calendar_alarms_pk
|
||||
-- Tidy up after ourselves.
|
||||
DROP SEQUENCE temporary_seq;
|
||||
|
||||
-- Add unique constraints where no other changes are needed.
|
||||
CREATE UNIQUE INDEX role_member_pk
|
||||
ON role_member (role_no, user_no);
|
||||
CREATE UNIQUE INDEX tmp_password_pk
|
||||
ON tmp_password (user_no, valid_until);
|
||||
|
||||
-- http://blogs.transparent.com/polish/names-of-the-months-and-their-meaning/
|
||||
SELECT new_db_revision(1,3,4, 'Kwiecień' );
|
||||
|
||||
|
||||
Reference in new issue
Block a user