summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-setup
diff options
context:
space:
mode:
authorivan <ivan>2003-10-15 12:08:47 +0000
committerivan <ivan>2003-10-15 12:08:47 +0000
commit7598ece6cac31548505dd610ef418ca001adf5b2 (patch)
tree00240aa2979eb6d79088ff7e78a181dfd221363b /FS/bin/freeside-setup
parent94eb1849a28630ef039eb644f961dae8b19f58fc (diff)
fix agent username and password nullability
Diffstat (limited to 'FS/bin/freeside-setup')
-rwxr-xr-xFS/bin/freeside-setup18
1 files changed, 16 insertions, 2 deletions
diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup
index bb122700a..b7b45dc63 100755
--- a/FS/bin/freeside-setup
+++ b/FS/bin/freeside-setup
@@ -337,8 +337,8 @@ sub tables_hash_hack {
'freq', 'int', 'NULL', '',
'prog', @perl_type,
'disabled', 'char', 'NULL', 1,
- 'username', 'varchar', '', $char_d,
- '_password','varchar', '', $char_d,
+ 'username', 'varchar', 'NULL', $char_d,
+ '_password','varchar', 'NULL', $char_d,
],
'primary_key' => 'agentnum',
'unique' => [],
@@ -1104,6 +1104,20 @@ sub tables_hash_hack {
'index' => [],
},
+ 'acct_snarf' => {
+ 'columns' => [
+ 'snarfnum', 'int', '', '',
+ 'svcnum', 'int', '', '',
+ 'machine', 'varchar', '', 255,
+ 'protocol', 'varchar', '', $char_d,
+ 'username', 'varchar', '', $char_d,
+ '_password', 'varchar', '', $char_d,
+ ],
+ 'primary_key' => 'snarfnum',
+ 'unique' => [],
+ 'index' => [ [ 'svcnum' ] ],
+ },
+
);
%tables;