OPDS v2 fixes
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
ALTER TABLE opds_user_v2
|
||||
DROP FOREIGN KEY fk_opds_user;
|
||||
ALTER TABLE opds_user_v2
|
||||
DROP INDEX uq_userid_username;
|
||||
ALTER TABLE opds_user_v2
|
||||
ADD CONSTRAINT uq_username UNIQUE (username);
|
||||
ALTER TABLE opds_user_v2
|
||||
ADD CONSTRAINT fk_opds_user FOREIGN KEY (user_id) REFERENCES users (id) ON DELETE CASCADE;
|
||||
Reference in New Issue
Block a user