Skip to content
Snippets Groups Projects
Commit 89e3e376 authored by Sebastian Kehr's avatar Sebastian Kehr 🚣🏼 Committed by Dorian Merz
Browse files

refs #16234 [master-v5] do not drop (non-existing) column username_id and...

refs #16234 [master-v5] do not drop (non-existing) column username_id and user_id_key unique constraint
parent 3e4747d1
No related merge requests found
......@@ -52,16 +52,6 @@ ALTER TABLE user
ADD COLUMN last_login timestamp NOT NULL DEFAULT '2000-01-01 00:00:00',
ADD COLUMN auth_method varchar(50) DEFAULT NULL;
-- Drop columns
ALTER TABLE user
DROP COLUMN username_id;
-- Apply constraint modifications
ALTER TABLE user
DROP INDEX user_id_key;
ALTER TABLE user
ADD UNIQUE(username),
ADD UNIQUE(cat_id);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment