From 7f07089722bfcabe3bf42619bb2bdb81fd8d44e1 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 7 Nov 2000 15:00:37 +0000 Subject: session monitor --- bin/fs-setup | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'bin/fs-setup') 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' => [], -- cgit v1.2.1