GUACAMOLE-220: Correct documentation of update script.
The UNIQUE constraint is being added once the column is expected to be unique, not necessarily because it should safely point to entries of a particular table.
This commit is contained in:
1 parent
7521cdc0ae
commit
bb6e8bc1c7
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -202,7 +202,7 @@ GO
|
||||
ALTER TABLE [guacamole_user]
|
||||
ALTER COLUMN [entity_id] [int] NOT NULL;
|
||||
|
||||
-- The entity_id column should now safely point to guacamole_entity entries
|
||||
-- The entity_id column should now be unique for each user
|
||||
ALTER TABLE [guacamole_user]
|
||||
ADD CONSTRAINT [AK_guacamole_user_single_entity]
|
||||
UNIQUE ([entity_id]);
|
||||
|
||||
Reference in new issue
Block a user