diff options
author | ivan <ivan> | 2005-04-02 22:46:44 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-04-02 22:46:44 +0000 |
commit | f583418a23dfb001978d3abf8476670d5adb96af (patch) | |
tree | 14bc6232c49f4ef9a1890f95f0d8dbc28536d334 /FS/FS/part_svc_router.pm | |
parent | 5d2eb9bf6bc24562ed6cff037379e78a2da7a654 (diff) |
herding elephants: add primary keys to *all* tables for slony
Diffstat (limited to 'FS/FS/part_svc_router.pm')
-rwxr-xr-x | FS/FS/part_svc_router.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/part_svc_router.pm b/FS/FS/part_svc_router.pm index 0b23ab5..df04cc9 100755 --- a/FS/FS/part_svc_router.pm +++ b/FS/FS/part_svc_router.pm @@ -13,7 +13,8 @@ sub table { 'part_svc_router'; } sub check { my $self = shift; my $error = - $self->ut_foreign_key('svcpart', 'part_svc', 'svcpart') + $self->ut_numbern('svcrouternum') + || $self->ut_foreign_key('svcpart', 'part_svc', 'svcpart') || $self->ut_foreign_key('routernum', 'router', 'routernum'); return $error if $error; ''; #no error |