summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authormark <mark>2010-11-08 21:42:44 +0000
committermark <mark>2010-11-08 21:42:44 +0000
commit6f00514388038706a2e981704122cdaef2a861da (patch)
tree5bae4f3585c5a49a6345f203cca9f6198f2afa80 /FS
parent1a47c9ec6fd9256eff6e65768c9122ffbd94cd86 (diff)
export names, RT#9827
Diffstat (limited to '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 5ab6f8657..b8ba5b2d4 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -2025,6 +2025,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 588606dc1..6f5aedc35 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')
;