ALTER TABLE Link ADD INDEX (Filename ( 5 ));

UPDATE ItemTypes SET Prefix = 'l' WHERE SourceTable = 'Link';
INSERT INTO ImportScripts(is_string_id,is_Module,is_script,is_label,is_field_prefix,is_requred_fields,is_enabled,is_type) VALUES ('', 'In-Link', '', 'Links from CSV file [In-Link]', '', '', 1, 'csv');

INSERT INTO ConfigurationValues VALUES ('Link_AllowFreeListings', '1', 'In-Link', 'in-link:configuration_output');
INSERT INTO ConfigurationAdmin VALUES ('Link_AllowFreeListings', 'la_Text_Links', 'la_link_AllowFreeListings', 'checkbox', '', '', 9, 1);

ALTER TABLE ListingTypes ADD Description TEXT NOT NULL AFTER Name;

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