ALTER TABLE Link ADD COLUMN l1_Name varchar(255) AFTER Name, ADD COLUMN l2_Name varchar(255) AFTER l1_Name, ADD COLUMN l3_Name varchar(255) AFTER l2_Name, ADD COLUMN l4_Name varchar(255) AFTER l3_Name, ADD COLUMN l5_Name varchar(255) AFTER l4_Name;
ALTER TABLE Link ADD Filename varchar(255) NOT NULL AFTER l5_Name;
ALTER TABLE Link ADD AutomaticFilename TINYINT UNSIGNED NOT NULL AFTER Filename ;

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