ALTERTABLE[#__redirect_links]DROPCONSTRAINT[#__redirect_links$idx_link_old];ALTERTABLE[#__redirect_links]ALTERCOLUMN[old_url][nvarchar](2048)NOTNULL;---- The following statement had to be modified for 3.6.0 by removing the-- NOT NULL, which was wrong because not consistent with new install.-- See also 3.6.0-2016-04-06.sql for updating 3.5.0 or 3.5.1--ALTERTABLE[#__redirect_links]ALTERCOLUMN[new_url][nvarchar](2048);ALTERTABLE[#__redirect_links]ALTERCOLUMN[referer][nvarchar](2048)NOTNULL;CREATENONCLUSTEREDINDEX[idx_old_url]ON[#__redirect_links]([old_url]ASC)WITH(STATISTICS_NORECOMPUTE=OFF,IGNORE_DUP_KEY=OFF,DROP_EXISTING=OFF,ONLINE=OFF);