ALTER TABLE `forum_posts` ADD `attachment_id` bigint(20) DEFAULT NULL; ALTER TABLE `forum_posts` ADD CONSTRAINT `FKEDDC4F35CCABB192` FOREIGN KEY (`attachment_id`) REFERENCES `file_description` (`id`);