UPDATE ConfigurationValues SET VariableName = 'Link_SortField' WHERE VariableName = 'Link_Sortfield';
UPDATE ConfigurationValues SET VariableName = 'Link_SortField2' WHERE VariableName = 'Link_Sortfield2';
UPDATE ConfigurationAdmin SET VariableName = 'Link_SortField' WHERE VariableName = 'Link_Sortfield'
UPDATE ConfigurationAdmin SET VariableName = 'Link_SortField2' WHERE VariableName = 'Link_Sortfield2'
ALTER TABLE Link DROP INDEX ResourceId, ADD UNIQUE ResourceId (ResourceId);

UPDATE Modules SET Version = '3.0.10' WHERE Name = 'In-Link'; 