Dependents support #190

Closed
fengmk2 opened this Issue Feb 18, 2014 · 2 comments

Projects

None yet

1 participant

@fengmk2
Member
fengmk2 commented Feb 18, 2014

image

Show what the hell deps on this module.

@fengmk2 fengmk2 added this to the v0.2 milestone Feb 18, 2014
@fengmk2 fengmk2 added the enhancement label Feb 18, 2014
@fengmk2
Member
fengmk2 commented Feb 18, 2014

Dependents Table

id name deps
bigint varchar(100) varchar(100)

pk: (name, deps)
index: name

@fengmk2
Member
fengmk2 commented Feb 18, 2014
CREATE TABLE `module_deps` (
 `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'primary key',
 `gmt_create` datetime NOT NULL COMMENT 'create time',
 `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'module name',
 `deps` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'which module depend on this module',
 PRIMARY KEY (`id`),
 UNIQUE KEY `name_deps` (`name`,`deps`),
 KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='module deps';
@fengmk2 fengmk2 self-assigned this Feb 18, 2014
@fengmk2 fengmk2 added a commit that referenced this issue Feb 19, 2014
@fengmk2 fengmk2 Dependents support. fixed #190 87c98af
@fengmk2 fengmk2 closed this in 973889c Feb 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment