[freeside-commits] freeside/FS/FS Schema.pm,1.112,1.113
Ivan,,,
ivan at wavetail.420.am
Tue Nov 18 17:24:26 PST 2008
- Previous message: [freeside-commits] freeside/rpm rpm2Bundle,1.1,1.2
- Next message: [freeside-commits] freeside/FS/FS Misc.pm, 1.31, 1.32 Schema.pm, 1.113, 1.114 cust_tax_location.pm, 1.2, 1.3 part_pkg_taxrate.pm, 1.4, 1.5 tax_class.pm, 1.3, 1.4 tax_rate.pm, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv19158
Modified Files:
Schema.pm
Log Message:
fix phone_avail.availnum to be a proper primary key, fix agent.agent_custnum unique index causing it to get a value filled in by Record.pm
Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -d -r1.112 -r1.113
--- Schema.pm 19 Oct 2008 00:38:08 -0000 1.112
+++ Schema.pm 19 Nov 2008 01:24:24 -0000 1.113
@@ -342,8 +342,11 @@
'prog', @perl_type, '', '', #deprecated (never used)
],
'primary_key' => 'agentnum',
- 'unique' => [ [ 'agent_custnum' ] ], #one agent per customer?
- 'index' => [ ['typenum'], ['disabled'] ],
+ #'unique' => [ [ 'agent_custnum' ] ], #one agent per customer?
+ #insert is giving it a value, tho..
+ #'index' => [ ['typenum'], ['disabled'] ],
+ 'unique' => [],
+ 'index' => [ ['typenum'], ['disabled'], ['agent_custnum'] ],
},
'agent_type' => {
@@ -2116,7 +2119,7 @@
'phone_avail' => {
'columns' => [
- 'availnum', 'int', '', '', '', '',
+ 'availnum', 'serial', '', '', '', '',
'exportnum', 'int', '', '', '', '',
'countrycode', 'varchar', '', 3, '', '',
'state', 'char', 'NULL', 2, '', '',
- Previous message: [freeside-commits] freeside/rpm rpm2Bundle,1.1,1.2
- Next message: [freeside-commits] freeside/FS/FS Misc.pm, 1.31, 1.32 Schema.pm, 1.113, 1.114 cust_tax_location.pm, 1.2, 1.3 part_pkg_taxrate.pm, 1.4, 1.5 tax_class.pm, 1.3, 1.4 tax_rate.pm, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list