diff options
Diffstat (limited to 'lib/githubexplorer/Schema/Result/Language.pm')
-rw-r--r-- | lib/githubexplorer/Schema/Result/Language.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/githubexplorer/Schema/Result/Language.pm b/lib/githubexplorer/Schema/Result/Language.pm new file mode 100644 index 0000000..2bfe23c --- /dev/null +++ b/lib/githubexplorer/Schema/Result/Language.pm @@ -0,0 +1,12 @@ +package githubexplorer::Schema::Result::Language; + +use base qw/DBIx::Class/; + +__PACKAGE__->load_components(qw/Core/); +__PACKAGE__->table('languages'); + +__PACKAGE__->add_columns( name => { data_type => 'varchar' }, ); + +__PACKAGE__->set_primary_key('name'); + +1; |