X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-network.php;h=c03a1ce049e6ef5dbe175c2e4e9d662c5b516d9d;hp=2eabe994ea3ee2b44c5092d216ad4e395b6ce88b;hb=b8c071f12a601619c4c02b9441b3e0e012db6ced;hpb=0bc147b8bab4706803309eab2d8b05042462efe6;ds=sidebyside diff --git a/inc/extensions/ext-network.php b/inc/extensions/ext-network.php index 2eabe994ea..c03a1ce049 100644 --- a/inc/extensions/ext-network.php +++ b/inc/extensions/ext-network.php @@ -68,17 +68,16 @@ PRIMARY KEY (`network_id`) ) TYPE={?_TABLE_TYPE?} COMMENT='Network data'"); // Types the network provider is supporting (e.g. Forced-Banner and so on) - // @TODO network_type_name is an internal name and needs documentation + // @TODO network_type_handle is an internal name and needs documentation addExtensionSql('DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_network_types`'); addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_network_types` ( `network_type_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, `network_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, -`network_type_name` VARCHAR(255) NOT NULL DEFAULT '', -`network_type_title` VARCHAR(255) NOT NULL DEFAULT '', +`network_type_handle` VARCHAR(255) NOT NULL DEFAULT '', `network_type_request_url` VARCHAR(255) NOT NULL DEFAULT '', `network_type_click_url` VARCHAR(255) NOT NULL DEFAULT '', `network_type_banner_url` VARCHAR(255) NOT NULL DEFAULT '', -UNIQUE `provider_type` (`network_id`,`network_type_name`), +UNIQUE `provider_type` (`network_id`,`network_type_handle`), PRIMARY KEY (`network_type_id`) ) TYPE={?_TABLE_TYPE?} COMMENT='Types provideable by networks. ONLY FILL OUT WITH PROPER idEA!'");