summaryrefslogtreecommitdiff
path: root/lib/githubexplorer/Schema/Result/Repositories.pm
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-01-30 15:09:58 +0100
committerfranck cuny <franck@lumberjaph.net>2010-01-30 15:09:58 +0100
commit3da8a2f300757f48bb4ffa35a409eafbcf9dfa49 (patch)
tree3944a48b0d2fbcf2f27dc392dbeffcabc9edc418 /lib/githubexplorer/Schema/Result/Repositories.pm
parentcount perl bytes, some tweaking (diff)
downloadgithub-explorer-3da8a2f300757f48bb4ffa35a409eafbcf9dfa49.tar.gz
don't make a call for each repo, don't ask for lang, add fork to repo schema
Diffstat (limited to 'lib/githubexplorer/Schema/Result/Repositories.pm')
-rw-r--r--lib/githubexplorer/Schema/Result/Repositories.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/githubexplorer/Schema/Result/Repositories.pm b/lib/githubexplorer/Schema/Result/Repositories.pm
index 641305f..2bd7136 100644
--- a/lib/githubexplorer/Schema/Result/Repositories.pm
+++ b/lib/githubexplorer/Schema/Result/Repositories.pm
@@ -12,6 +12,7 @@ __PACKAGE__->add_columns(
url => { data_type => 'varchar', is_nullable => 1 },
watchers => { data_type => 'int' },
forks => { data_type => 'int' },
+ fork => { data_type => 'bool' },
id_profile => { data_type => 'int', is_foreign_key => 1 },
);