freeside/FS/bin freeside-setup,1.49,1.50
ivan
ivan at pouncequick.420.am
Sat Apr 2 14:46:48 PST 2005
- Previous message: freeside/FS/FS rate_detail.pm,1.2,1.3 type_pkgs.pm,1.4,1.5 cust_bill_pkg.pm,1.6,1.7 pkg_svc.pm,1.5,1.6 part_svc_router.pm,1.1,1.2 reg_code_pkg.pm,1.1,1.2
- Next message: freeside/bin slony-setup,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory pouncequick:/tmp/cvs-serv16493/FS/bin
Modified Files:
freeside-setup
Log Message:
herding elephants: add primary keys to *all* tables for slony
Index: freeside-setup
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-setup,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- freeside-setup 18 Mar 2005 19:21:30 -0000 1.49
+++ freeside-setup 2 Apr 2005 22:46:44 -0000 1.50
@@ -343,10 +343,11 @@
'type_pkgs' => {
'columns' => [
+ 'typepkgnum', 'serial', '', '',
'typenum', 'int', '', '',
'pkgpart', 'int', '', '',
],
- 'primary_key' => '',
+ 'primary_key' => 'typepkgnum',
'unique' => [ ['typenum', 'pkgpart'] ],
'index' => [ ['typenum'] ],
},
@@ -399,6 +400,7 @@
'cust_bill_pkg' => {
'columns' => [
+ 'billpkgnum', 'serial', '', '',
'pkgnum', 'int', '', '',
'invnum', 'int', '', '',
'setup', @money_type,
@@ -407,7 +409,7 @@
'edate', @date_type,
'itemdesc', 'varchar', 'NULL', $char_d,
],
- 'primary_key' => '',
+ 'primary_key' => 'billpkgnum',
'unique' => [],
'index' => [ ['invnum'] ],
},
@@ -713,12 +715,13 @@
'pkg_svc' => {
'columns' => [
+ 'pkgsvcnum', 'serial', '', '',
'pkgpart', 'int', '', '',
'svcpart', 'int', '', '',
'quantity', 'int', '', '',
'primary_svc','char', 'NULL', 1,
],
- 'primary_key' => '',
+ 'primary_key' => 'pkgsvcnum',
'unique' => [ ['pkgpart', 'svcpart'] ],
'index' => [ ['pkgpart'] ],
},
@@ -1058,10 +1061,11 @@
'part_svc_router' => {
'columns' => [
+ 'svcrouternum', 'serial', '', '',
'svcpart', 'int', '', '',
'routernum', 'int', '', '',
],
- 'primary_key' => '',
+ 'primary_key' => 'svcrouternum',
'unique' => [],
'index' => [],
},
@@ -1108,11 +1112,12 @@
'virtual_field' => {
'columns' => [
+ 'vfieldnum', 'serial', '', '',
'recnum', 'int', '', '',
'vfieldpart', 'int', '', '',
'value', 'varchar', '', 128,
],
- 'primary_key' => '',
+ 'primary_key' => 'vfieldnum',
'unique' => [ [ 'vfieldpart', 'recnum' ] ],
'index' => [],
},
@@ -1179,6 +1184,7 @@
'rate_detail' => {
'columns' => [
+ 'ratedetailnum', 'serial', '', '',
'ratenum', 'int', '', '',
'orig_regionnum', 'int', 'NULL', '',
'dest_regionnum', 'int', '', '',
@@ -1187,7 +1193,7 @@
'sec_granularity', 'int', '', '',
#time period (link to table of periods)?
],
- 'primary_key' => '',
+ 'primary_key' => 'ratedetailnum',
'unique' => [ [ 'ratenum', 'orig_regionnum', 'dest_regionnum' ] ],
'index' => [],
},
@@ -1228,10 +1234,11 @@
'reg_code_pkg' => {
'columns' => [
+ 'codepkgnum', 'serial', '', '',
'codenum', 'int', '', '',
'pkgpart', 'int', '', '',
],
- 'primary_key' => '',
+ 'primary_key' => 'codepkgnum',
'unique' => [ [ 'codenum', 'pkgpart' ] ],
'index' => [ [ 'codenum' ] ],
},
- Previous message: freeside/FS/FS rate_detail.pm,1.2,1.3 type_pkgs.pm,1.4,1.5 cust_bill_pkg.pm,1.6,1.7 pkg_svc.pm,1.5,1.6 part_svc_router.pm,1.1,1.2 reg_code_pkg.pm,1.1,1.2
- Next message: freeside/bin slony-setup,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list