X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Ffs-setup;h=602dc7274e1871183008f6a9197522818402f1bd;hp=b0f47610fd60f85a5e946e11d1d9ec80bee8d29e;hb=7f07089722bfcabe3bf42619bb2bdb81fd8d44e1;hpb=b31966d5d1f9d8629bd28ff1c2ff37a5c84965c1 diff --git a/bin/fs-setup b/bin/fs-setup index b0f47610f..602dc7274 100755 --- a/bin/fs-setup +++ b/bin/fs-setup @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: fs-setup,v 1.28 2000-10-30 10:47:26 ivan Exp $ +# $Id: fs-setup,v 1.29 2000-11-07 15:00:37 ivan Exp $ # # ivan@sisd.com 97-nov-8,9 # @@ -32,7 +32,10 @@ # fix radius attributes ivan@sisd.com 98-sep-27 # # $Log: fs-setup,v $ -# Revision 1.28 2000-10-30 10:47:26 ivan +# Revision 1.29 2000-11-07 15:00:37 ivan +# session monitor +# +# Revision 1.28 2000/10/30 10:47:26 ivan # nas.last can't be defined NULL if indexed # # Revision 1.26 2000/07/06 08:57:27 ivan @@ -751,9 +754,7 @@ sub tables_hash_hack { 'nas', 'varchar', '', $char_d, 'nasip', 'varchar', '', 15, 'nasfqdn', 'varchar', '', $char_d, -# 'last', 'timestamp', '', '', -#change to above when move to DBIx::DBSchema!!! - 'last', 'datetime', '', '', + 'last', @date_type, ], 'primary_key' => 'nasnum', 'unique' => [ [ 'nas' ], [ 'nasip' ] ], @@ -765,11 +766,8 @@ sub tables_hash_hack { 'sessionnum', 'int', '', '', 'portnum', 'int', '', '', 'svcnum', 'int', '', '', -# 'login', 'timestamp', '', '', -# 'logout', 'timestamp', '', '', -#change to above when move to DBIx::DBSchema!!! - 'login', 'datetime', '', '', - 'logout', 'datetime', NULL, '', + 'login', @date_type, + 'logout', @date_type, ], 'primary_key' => 'sessionnum', 'unique' => [],