X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=bin%2Ffs-setup;h=e7aa3b0d966a5a16f4f24159a2e538976a4669f8;hb=cf16b23820da69e3c8d0156ae27e21c635bf1ec5;hp=3d76bf823a0682e9a408ca6960ef1d17fc5ad393;hpb=8e59cbe916e8d4127a83576f98ba2c23aa04ceaa;p=freeside.git diff --git a/bin/fs-setup b/bin/fs-setup index 3d76bf823..e7aa3b0d9 100755 --- a/bin/fs-setup +++ b/bin/fs-setup @@ -1,13 +1,13 @@ #!/usr/bin/perl -Tw # -# $Id: fs-setup,v 1.64 2001-10-23 18:15:06 ivan Exp $ +# $Id: fs-setup,v 1.68 2001-12-27 09:26:13 ivan Exp $ #to delay loading dbdef until we're ready BEGIN { $FS::Record::setup_hack = 1; } use strict; use DBI; -use DBIx::DBSchema 0.18; +use DBIx::DBSchema 0.19; use DBIx::DBSchema::Table; use DBIx::DBSchema::Column; use DBIx::DBSchema::ColGroup::Unique; @@ -30,14 +30,18 @@ my($dbdef_file) = "/usr/local/etc/freeside/dbdef.". datasrc; ### -print "\nEnter the maximum username length: "; -my($username_len)=&getvalue; +#print "\nEnter the maximum username length: "; +#my($username_len)=&getvalue; +my $username_len = 32; #usernamemax config file print "\n\n", < 'pkgpart', 'unique' => [ [] ], @@ -586,6 +591,7 @@ sub tables_hash_hack { 'svcpart', 'int', '', '', 'svc', 'varchar', '', $char_d, 'svcdb', 'varchar', '', $char_d, + 'disabled', 'char', 'NULL', 1, ], 'primary_key' => 'svcpart', 'unique' => [ [] ],