projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
define username_len so the default add account screen doesn't have a tiny username...
[freeside.git]
/
FS
/
FS
/
Schema.pm
diff --git
a/FS/FS/Schema.pm
b/FS/FS/Schema.pm
index
c11fd05
..
bffcafc
100644
(file)
--- a/
FS/FS/Schema.pm
+++ b/
FS/FS/Schema.pm
@@
-226,13
+226,15
@@
sub dbdef_dist {
sub tables_hashref {
sub tables_hashref {
- my
($char_d)
= 80; #default maxlength for text fields
+ my
$char_d
= 80; #default maxlength for text fields
#my(@date_type) = ( 'timestamp', '', '' );
#my(@date_type) = ( 'timestamp', '', '' );
- my
(@date_type)
= ( 'int', 'NULL', '' );
- my
(@perl_type)
= ( 'text', 'NULL', '' );
+ my
@date_type
= ( 'int', 'NULL', '' );
+ my
@perl_type
= ( 'text', 'NULL', '' );
my @money_type = ( 'decimal', '', '10,2' );
my @money_type = ( 'decimal', '', '10,2' );
+ my $username_len = 32; #usernamemax config file
+
return {
'agent' => {
return {
'agent' => {