diff --git a/crm/db/schema/mysql/20181125122152.add_multiple_relationships.up.sql b/crm/db/schema/mysql/20181125122152.add_multiple_relationships.up.sql new file mode 100644 index 000000000..8d1ec6663 --- /dev/null +++ b/crm/db/schema/mysql/20181125122152.add_multiple_relationships.up.sql @@ -0,0 +1,6 @@ +CREATE TABLE `crm_content_links` ( + `content_id` bigint(20) unsigned NOT NULL, + `column_name` varchar(255) NOT NULL, + `rel_content_id` bigint(20) unsigned NOT NULL, + PRIMARY KEY (`content_id`,`column_name`,`rel_content_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; \ No newline at end of file