summaryrefslogtreecommitdiff
path: root/FS/FS/Schema.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-04-06 14:09:42 -0700
committerMark Wells <mark@freeside.biz>2016-04-06 14:10:50 -0700
commit4fcc2ecff984d1032cef03b7345c460024a345c9 (patch)
treecab771f97f82c0be433ccdfa9f980b39a79f7a02 /FS/FS/Schema.pm
parent26e430087cb3edc1ea2d4a7e6ee2d7a3214a017e (diff)
add cust_event.no_action flag for events that conditionally execute, #36741
Diffstat (limited to 'FS/FS/Schema.pm')
-rw-r--r--FS/FS/Schema.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 5e97d79..36e6fdf 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -923,12 +923,13 @@ sub tables_hashref {
'_date', @date_type, '', '',
'status', 'varchar', '', $char_d, '', '',
'statustext', 'text', 'NULL', '', '', '',
+ 'no_action', 'char', 'NULL', 1, '', '',
],
'primary_key' => 'eventnum',
#no... there are retries now #'unique' => [ [ 'eventpart', 'invnum' ] ],
'unique' => [],
'index' => [ ['eventpart'], ['tablenum'], ['status'],
- ['statustext'], ['_date'],
+ ['statustext'], ['_date'], ['no_action'],
],
'foreign_keys' => [
{ columns => [ 'eventpart' ],