summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authormark <mark>2010-11-07 07:07:06 +0000
committermark <mark>2010-11-07 07:07:06 +0000
commit5ac9e46a92f4eefd795f97643f3e8f62ec1a2b26 (patch)
tree15d05e369276ceb5545daf098bfa7e8b512f18e0 /FS/FS
parentcd91e59d897b1359dd91b2b9e5e7e008d2dbd9ed (diff)
export names, RT#9827
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/Schema.pm1
-rw-r--r--FS/FS/part_export.pm3
2 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 6ed7756..4c85da1 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -2024,6 +2024,7 @@ sub tables_hashref {
'part_export' => {
'columns' => [
'exportnum', 'serial', '', '', '', '',
+ 'exportname', 'varchar', 'NULL', $char_d, '', '',
'machine', 'varchar', '', $char_d, '', '',
'exporttype', 'varchar', '', $char_d, '', '',
'nodomain', 'char', 'NULL', 1, '', '',
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm
index 588606d..6f5aedc 100644
--- a/FS/FS/part_export.pm
+++ b/FS/FS/part_export.pm
@@ -50,6 +50,8 @@ fields are currently supported:
=item exportnum - primary key
+=item exportname - Descriptive name
+
=item machine - Machine name
=item exporttype - Export type
@@ -159,6 +161,7 @@ sub check {
my $self = shift;
my $error =
$self->ut_numbern('exportnum')
+ || $self->ut_textn('exportname')
|| $self->ut_domain('machine')
|| $self->ut_alpha('exporttype')
;