ALTER TABLE Link CHANGE AutomaticFilename AutomaticFilename TINYINT(3) UNSIGNED NOT NULL DEFAULT '1', CHANGE CreatedById CreatedById INT(11) NOT NULL DEFAULT '-1', CHANGE ModifiedById ModifiedById INT(11) NOT NULL DEFAULT '-1', CHANGE CachedRating CachedRating VARCHAR(10) NOT NULL DEFAULT '0', CHANGE CreatedOn CreatedOn INT UNSIGNED NULL DEFAULT NULL, CHANGE Modified Modified INT UNSIGNED NULL DEFAULT NULL, CHANGE Expire Expire INT UNSIGNED NULL DEFAULT NULL;
ALTER TABLE Link DROP Filename;

ALTER TABLE Listings CHANGE `Status` `Status` TINYINT(4) UNSIGNED NOT NULL DEFAULT '2';

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