summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Schema.pm1
-rw-r--r--FS/FS/lata.pm2
2 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 035965e37..ae0541331 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -3164,6 +3164,7 @@ sub tables_hashref {
'columns' => [
'latanum', 'int', '', '', '', '',
'description', 'varchar', '', $char_d, '', '',
+ 'have_usage', 'int', 'NULL', '', '', '',
],
'primary_key' => 'latanum',
'unique' => [],
diff --git a/FS/FS/lata.pm b/FS/FS/lata.pm
index ae4208a9f..84a7992e2 100644
--- a/FS/FS/lata.pm
+++ b/FS/FS/lata.pm
@@ -38,6 +38,7 @@ primary key
description
+=item have_usage - a reporting hack
=back
@@ -101,6 +102,7 @@ sub check {
my $error =
$self->ut_numbern('latanum')
|| $self->ut_text('description')
+ || $self->ut_numbern('have_usage')
;
return $error if $error;