summaryrefslogtreecommitdiff
path: root/bin/fs-setup
diff options
context:
space:
mode:
authorivan <ivan>2002-04-05 23:51:18 +0000
committerivan <ivan>2002-04-05 23:51:18 +0000
commit87af741da0dd5f6a76bbb566b4d6c54cd5b15315 (patch)
treed7c594b3e74bcea1e78beef56150ddf51ba24934 /bin/fs-setup
parentee037398ef051cca986f799c52e52c0114f897c9 (diff)
- add message catalog table & beginning of web interface
- add security_phrase and conf option to svc_acct.pm - random other stuff
Diffstat (limited to 'bin/fs-setup')
-rwxr-xr-xbin/fs-setup15
1 files changed, 14 insertions, 1 deletions
diff --git a/bin/fs-setup b/bin/fs-setup
index 01e08f77d..55edeb6dd 100755
--- a/bin/fs-setup
+++ b/bin/fs-setup
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: fs-setup,v 1.84 2002-03-22 18:56:32 ivan Exp $
+# $Id: fs-setup,v 1.85 2002-04-05 23:51:17 ivan Exp $
#to delay loading dbdef until we're ready
BEGIN { $FS::Record::setup_hack = 1; }
@@ -752,6 +752,7 @@ sub tables_hash_hack {
'svcnum', 'int', '', '',
'username', 'varchar', '', $username_len, #unique (& remove dup code)
'_password', 'varchar', '', 50, #13 for encryped pw's plus ' *SUSPENDED* (mp5 passwords can be 34)
+ 'sec_phrase', 'varchar', 'NULL', $char_d,
'popnum', 'int', 'NULL', '',
'uid', 'int', 'NULL', '',
'gid', 'int', 'NULL', '',
@@ -962,6 +963,18 @@ sub tables_hash_hack {
'index' => [ [ 'svcnum' ], [ 'groupname' ] ],
},
+ 'msgcat' => {
+ 'columns' => [
+ 'msgnum', 'int', '', '',
+ 'msgcode', 'varchar', '', $char_d,
+ 'locale', 'varchar', '', 16,
+ 'msg', 'text', '', '',
+ ],
+ 'primary_key' => 'msgnum',
+ 'unique' => [ [ 'msgcode', 'locale' ] ],
+ 'index' => [],
+ },
+
);
%tables;