[Midnightbsd-cvs] mports: PortCategory.pm: Linking classes need both columns in the pk.

ctriv at midnightbsd.org ctriv at midnightbsd.org
Tue Mar 25 01:23:07 EDT 2008


Log Message:
-----------
Linking classes need both columns in the pk.

Modified Files:
--------------
    mports/Tools/lib/Magus:
        PortCategory.pm (r1.3 -> r1.4)

-------------- next part --------------
Index: PortCategory.pm
===================================================================
RCS file: /home/cvs/mports/Tools/lib/Magus/PortCategory.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -L Tools/lib/Magus/PortCategory.pm -L Tools/lib/Magus/PortCategory.pm -u -r1.3 -r1.4
--- Tools/lib/Magus/PortCategory.pm
+++ Tools/lib/Magus/PortCategory.pm
@@ -35,7 +35,7 @@
 
 
 __PACKAGE__->table('port_categories');
-__PACKAGE__->columns(Essential => qw/port category/);
+__PACKAGE__->columns(Primary => qw/port category/);
 __PACKAGE__->has_a(port => 'Magus::Port');
 __PACKAGE__->has_a(category => 'Magus::Category');
 


More information about the Midnightbsd-cvs mailing list