Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant