fix server location on device registration
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS idx_storage_locations_user_server;
|
||||
@@ -0,0 +1,2 @@
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS idx_storage_locations_user_server
|
||||
ON storage_locations(user_id) WHERE role = 'server';
|
||||
Reference in New Issue
Block a user