X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=bin%2Ffs-setup;h=2a37fb8d752b4c38ae886dbdf164c4c4af0e979b;hb=15f65a0c56cbce6951d9cb4f71119725a2009f79;hp=b2000a53b8f5c090de3dc5ed34bd57149a18df7a;hpb=ae2f662a52a739ce966cdc0e74faef7bab1f8cb7;p=freeside.git diff --git a/bin/fs-setup b/bin/fs-setup index b2000a53b..2a37fb8d7 100755 --- a/bin/fs-setup +++ b/bin/fs-setup @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: fs-setup,v 1.30 2000-12-01 18:33:32 ivan Exp $ +# $Id: fs-setup,v 1.34 2001-04-09 23:05:16 ivan Exp $ # # ivan@sisd.com 97-nov-8,9 # @@ -32,7 +32,19 @@ # fix radius attributes ivan@sisd.com 98-sep-27 # # $Log: fs-setup,v $ -# Revision 1.30 2000-12-01 18:33:32 ivan +# Revision 1.34 2001-04-09 23:05:16 ivan +# Transactions Part I!!! +# +# Revision 1.33 2001/02/03 14:03:50 ivan +# time-based prepaid cards, session monitor. woop! +# +# Revision 1.32 2000/12/04 00:13:02 ivan +# fix nas.last type +# +# Revision 1.31 2000/12/01 18:34:53 ivan +# another tyop +# +# Revision 1.30 2000/12/01 18:33:32 ivan # tyop # # Revision 1.29 2000/11/07 15:00:37 ivan @@ -383,7 +395,6 @@ sub tables_hash_hack { 'custnum', 'int', '', '', '_date', @date_type, 'charged', @money_type, - 'owed', @money_type, 'printed', 'int', '', '', ], 'primary_key' => 'invnum', @@ -411,7 +422,6 @@ sub tables_hash_hack { 'custnum', 'int', '', '', '_date', @date_type, 'amount', @money_type, - 'credited', @money_type, 'otaker', 'varchar', '', 8, 'reason', 'varchar', '', 255, ], @@ -652,6 +662,7 @@ sub tables_hash_hack { 'shell', 'varchar', 'NULL', $char_d, 'quota', 'varchar', 'NULL', $char_d, 'slipip', 'varchar', 'NULL', 15, #four TINYINTs, bah. + 'seconds', 'int', 'NULL', '', #uhhhh ], 'primary_key' => 'svcnum', 'unique' => [ [] ], @@ -733,6 +744,7 @@ sub tables_hash_hack { 'prepaynum', 'int', '', '', 'identifier', 'varchar', '', $char_d, 'amount', @money_type, + 'seconds', 'int', 'NULL', '', ], 'primary_key' => 'prepaynum', 'unique' => [ ['identifier'] ], @@ -742,8 +754,8 @@ sub tables_hash_hack { 'port' => { 'columns' => [ 'portnum', 'int', '', '', - 'ip', 'varchar', NULL, 15, - 'nasport', 'int', NULL, '', + 'ip', 'varchar', 'NULL', 15, + 'nasport', 'int', 'NULL', '', 'nasnum', 'int', '', '', ], 'primary_key' => 'portnum', @@ -757,7 +769,7 @@ sub tables_hash_hack { 'nas', 'varchar', '', $char_d, 'nasip', 'varchar', '', 15, 'nasfqdn', 'varchar', '', $char_d, - 'last', @date_type, + 'last', 'int', '', '', ], 'primary_key' => 'nasnum', 'unique' => [ [ 'nas' ], [ 'nasip' ] ],