fix svc_url to work no matter where we are coming from in the tree - use rooturl...
[freeside.git] / FS / FS / Schema.pm
index 33baa0a..88bb6ac 100644 (file)
@@ -841,12 +841,12 @@ sub tables_hashref {
         'slipip',    'varchar',   'NULL',   15, '', '', #four TINYINTs, bah.
         'seconds',   'int', 'NULL',   '', '', '', #uhhhh
         'seconds_threshold',   'int', 'NULL',   '', '', '',
-        'upbytes',   'int', 'NULL',   '', '', '', 
-        'upbytes_threshold',   'int', 'NULL',   '', '', '',
-        'downbytes', 'int', 'NULL',   '', '', '',
-        'downbytes_threshold',   'int', 'NULL',   '', '', '',
-        'totalbytes','int', 'NULL',   '', '', '',
-        'totalbytes_threshold',   'int', 'NULL',   '', '', '',
+        'upbytes',   'bigint', 'NULL',   '', '', '', 
+        'upbytes_threshold',   'bigint', 'NULL',   '', '', '',
+        'downbytes', 'bigint', 'NULL',   '', '', '',
+        'downbytes_threshold',   'bigint', 'NULL',   '', '', '',
+        'totalbytes','bigint', 'NULL',   '', '', '',
+        'totalbytes_threshold',   'bigint', 'NULL',   '', '', '',
         'domsvc',    'int', '',   '', '', '', 
       ],
       'primary_key' => 'svcnum',
@@ -950,9 +950,9 @@ sub tables_hashref {
         'identifier',  'varchar', '', $char_d, '', '', 
         'amount',      @money_type, '', '', 
         'seconds',     'int',     'NULL', '', '', '', 
-        'upbytes',     'int',     'NULL', '', '', '', 
-        'downbytes',   'int',     'NULL', '', '', '', 
-        'totalbytes',  'int',     'NULL', '', '', '', 
+        'upbytes',     'bigint',     'NULL', '', '', '', 
+        'downbytes',   'bigint',     'NULL', '', '', '', 
+        'totalbytes',  'bigint',     'NULL', '', '', '', 
         'agentnum',    'int',     'NULL', '', '', '', 
       ],
       'primary_key' => 'prepaynum',
@@ -1161,6 +1161,7 @@ sub tables_hashref {
     'svc_broadband' => {
       'columns' => [
         'svcnum', 'int', '', '', '', '', 
+        'description', 'varchar', 'NULL', $char_d, '', '', 
         'blocknum', 'int', '', '', '', '', 
         'speed_up', 'int', '', '', '', '', 
         'speed_down', 'int', '', '', '', '',