New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependents support #190

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

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

This comment has been minimized.

Member

fengmk2 commented Feb 18, 2014

Dependents Table

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

pk: (name, deps)
index: name

@fengmk2

This comment has been minimized.

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 added a commit that referenced this issue Feb 19, 2014

@fengmk2 fengmk2 closed this in 973889c Feb 19, 2014

dead-horse added a commit that referenced this issue Feb 19, 2014

Merge pull request #191 from cnpm/module_deps
Dependents support. fixed #190
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment