summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lib/CPAN/mapcpan.pm49
1 files changed, 9 insertions, 40 deletions
diff --git a/lib/CPAN/mapcpan.pm b/lib/CPAN/mapcpan.pm
index 58a8c57..f93f8c8 100644
--- a/lib/CPAN/mapcpan.pm
+++ b/lib/CPAN/mapcpan.pm
@@ -64,6 +64,15 @@ __PACKAGE__->add_columns(
         'is_nullable'       => 1,
         'size'              => 0
     },
+    'version' => {
+        'data_type'         => 'text',
+        'is_auto_increment' => 0,
+        'default_value'     => undef,
+        'is_foreign_key'    => 0,
+        'name'              => 'version',
+        'is_nullable'       => 1,
+        'size'              => 0
+    },
     'tests_success' => {
         'data_type'         => 'integer',
         'is_auto_increment' => 0,
@@ -94,45 +103,6 @@ __PACKAGE__->add_columns(
 );
 __PACKAGE__->set_primary_key('id');
 
-package CPAN::cpanmap::modules;
-use base 'DBIx::Class';
-use strict;
-use warnings;
-
-__PACKAGE__->load_components( qw/ Core/ );
-__PACKAGE__->table( 'modules' );
-
-__PACKAGE__->add_columns(
-    'id' => {
-        'data_type'         => 'integer',
-        'is_auto_increment' => 0,
-        'default_value'     => undef,
-        'is_foreign_key'    => 0,
-        'name'              => 'id',
-        'is_nullable'       => 0,
-        'size'              => 0
-    },
-    'module' => {
-        'data_type'         => 'text',
-        'is_auto_increment' => 0,
-        'default_value'     => undef,
-        'is_foreign_key'    => 0,
-        'name'              => 'module',
-        'is_nullable'       => 1,
-        'size'              => 0
-    },
-    'in_dist' => {
-        'data_type'         => 'integer',
-        'is_auto_increment' => 0,
-        'default_value'     => undef,
-        'is_foreign_key'    => 0,
-        'name'              => 'in_dist',
-        'is_nullable'       => 1,
-        'size'              => 0
-    },
-);
-__PACKAGE__->set_primary_key('id');
-
 package CPAN::cpanmap;
 use base 'DBIx::Class::Schema';
 use strict;
@@ -140,6 +110,5 @@ use warnings;
 
 __PACKAGE__->register_class( 'edges',    'CPAN::cpanmap::edges' );
 __PACKAGE__->register_class( 'packages', 'CPAN::cpanmap::packages' );
-__PACKAGE__->register_class( 'modules',  'CPAN::cpanmap::modules' );
 
 1;