summaryrefslogtreecommitdiff
path: root/bin/fs-setup
diff options
context:
space:
mode:
authorivan <ivan>2000-11-07 15:00:37 +0000
committerivan <ivan>2000-11-07 15:00:37 +0000
commit7f07089722bfcabe3bf42619bb2bdb81fd8d44e1 (patch)
tree8bbfe5b33182d68cd89e63176a11dcc468091ed0 /bin/fs-setup
parentb31966d5d1f9d8629bd28ff1c2ff37a5c84965c1 (diff)
session monitor
Diffstat (limited to 'bin/fs-setup')
-rwxr-xr-xbin/fs-setup18
1 files changed, 8 insertions, 10 deletions
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' => [],