Skip to content
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
Closed

Dependents support #190

fengmk2 opened this issue Feb 18, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@fengmk2
Copy link
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
Copy link
Member Author

fengmk2 commented Feb 18, 2014

Dependents Table

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

pk: (name, deps)
index: name

@fengmk2
Copy link
Member Author

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
dead-horse added a commit that referenced this issue Feb 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant