projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
94eb184
)
fix agent username and password nullability
author
ivan
<ivan>
Wed, 15 Oct 2003 12:08:47 +0000
(12:08 +0000)
committer
ivan
<ivan>
Wed, 15 Oct 2003 12:08:47 +0000
(12:08 +0000)
FS/bin/freeside-setup
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-setup
b/FS/bin/freeside-setup
index
bb12270
..
b7b45dc
100755
(executable)
--- 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,
'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' => [],
],
'primary_key' => 'agentnum',
'unique' => [],
@@
-1104,6
+1104,20
@@
sub tables_hash_hack {
'index' => [],
},
'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;
);
%tables;