diff options
author | ivan <ivan> | 2010-01-25 17:41:31 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-01-25 17:41:31 +0000 |
commit | 667cee1c0b352573f80663eae5be2de8ad8a93de (patch) | |
tree | 12b7a1a6c3b7d000b40589fbed0aaf589de2f1dd /FS | |
parent | 5acd0ae0bacfbbfcc7e118e6f09c3b919d0346fa (diff) |
initial svc_pbx implementation, RT#7051
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/Mason.pm | 1 | ||||
-rw-r--r-- | FS/FS/Schema.pm | 14 | ||||
-rw-r--r-- | FS/MANIFEST | 2 |
3 files changed, 17 insertions, 0 deletions
diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm index 7e9827cac..09f857add 100644 --- a/FS/FS/Mason.pm +++ b/FS/FS/Mason.pm @@ -226,6 +226,7 @@ if ( -e $addl_handler_use_file ) { use FS::cust_category; use FS::prospect_main; use FS::contact; + use FS::svc_pbx; # Sammath Naur if ( $FS::Mason::addl_handler_use ) { diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index ab46d97eb..0ffc5bd42 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -2612,6 +2612,20 @@ sub tables_hashref { 'unique' => [ [ 'pkgnum', 'refnum' ] ], 'index' => [ [ 'pkgnum' ], [ 'refnum' ] ], }, + + 'svc_pbx' => { + 'columns' => [ + 'svcnum', 'int', '', '', '', '', + 'id', 'int', 'NULL', '', '', '', + 'title', 'varchar', 'NULL', $char_d, '', '', + 'max_extensions', 'int', 'NULL', '', '', '', + ], + 'primary_key' => 'svcnum', + 'unique' => [], + 'index' => [ [ 'id' ] ], + }, + + # name type nullability length default local #'new_table' => { diff --git a/FS/MANIFEST b/FS/MANIFEST index 74b06a88c..0063e005f 100644 --- a/FS/MANIFEST +++ b/FS/MANIFEST @@ -474,3 +474,5 @@ t/contact_email.t FS/prospect_main.pm t/prospect_main.t FS/o2m_Common.pm +FS/svc_pbx.pm +t/svc_pbx.t |