diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-02-24 21:37:39 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-02-24 21:37:39 -0800 |
commit | 1bb418afbe13a1aa90cfe21da082091e091a2685 (patch) | |
tree | 7b84f6e3b227ed64c6cfc6759d6229c6ef7e431a | |
parent | e1d1b525c6c19e4cf577eef7de5875ba3ae2a224 (diff) |
remove foreign keys leaked from v4
-rw-r--r-- | FS/FS/Schema.pm | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index de8a7c076..b896714de 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -3959,11 +3959,6 @@ sub tables_hashref { 'primary_key' => 'itemnum', 'unique' => [ [ 'usernum' ] ], 'index' => [], - 'foreign_keys' => [ - { columns => [ 'usernum' ], - table => 'access_user', - }, - ], }, #'sched_item_class' @@ -3980,11 +3975,6 @@ sub tables_hashref { 'primary_key' => 'availnum', 'unique' => [], 'index' => [], - 'foreign_keys' => [ - { columns => [ 'itemnum' ], - table => 'sched_item', - }, - ], }, 'svc_phone' => { @@ -4226,15 +4216,6 @@ sub tables_hashref { 'primary_key' => 'extensionnum', 'unique' => [ [ 'svcnum', 'extension' ] ], 'index' => [ [ 'svcnum' ] ], - 'foreign_keys' => [ - { columns => [ 'svcnum' ], - table => 'svc_pbx', - }, - { columns => [ 'circuit_svcnum' ], - table => 'svc_circuit', - references => [ 'svcnum' ], - }, - ], }, 'svc_mailinglist' => { #svc_group? @@ -4607,20 +4588,6 @@ sub tables_hashref { 'primary_key' => 'svcnum', 'unique' => [], 'index' => [ [ 'providernum' ], [ 'typenum' ] ], - 'foreign_keys' => [ - { columns => [ 'svcnum' ], - table => 'cust_svc', - }, - { columns => [ 'typenum' ], - table => 'circuit_type', - }, - { columns => [ 'providernum' ], - table => 'circuit_provider', - }, - { columns => [ 'termnum' ], - table => 'circuit_termination', - }, - ], }, %{ tables_hashref_torrus() }, @@ -4693,12 +4660,6 @@ sub tables_hashref { 'primary_key' => 'batchnum', 'unique' => [], 'index' => [ [ 'exportnum' ], [ 'status' ] ], - 'foreign_keys' => [ - { columns => [ 'exportnum' ], - table => 'part_export', - references => [ 'exportnum' ] - }, - ], }, 'export_batch_item' => { @@ -4713,12 +4674,6 @@ sub tables_hashref { 'primary_key' => 'itemnum', 'unique' => [], 'index' => [ [ 'batchnum' ], [ 'svcnum' ] ], - 'foreign_keys' => [ - { columns => [ 'batchnum' ], - table => 'export_batch', - references => [ 'batchnum' ] - }, - ], }, # lookup table for states, similar to msa and lata @@ -4758,12 +4713,6 @@ sub tables_hashref { 'primary_key' => 'zonenum', 'unique' => [], 'index' => [ [ 'agentnum' ] ], - 'foreign_keys' => [ - { columns => [ 'agentnum' ], - table => 'agent', - references => [ 'agentnum' ], - }, - ], }, 'deploy_zone_block' => { @@ -4776,12 +4725,6 @@ sub tables_hashref { 'primary_key' => 'blocknum', 'unique' => [], 'index' => [ [ 'zonenum' ] ], - 'foreign_keys' => [ - { columns => [ 'zonenum' ], - table => 'deploy_zone', - references => [ 'zonenum' ], - }, - ], }, 'deploy_zone_vertex' => { @@ -4794,12 +4737,6 @@ sub tables_hashref { 'primary_key' => 'vertexnum', 'unique' => [ ], 'index' => [ ], - 'foreign_keys' => [ - { columns => [ 'zonenum' ], - table => 'deploy_zone', - references => [ 'zonenum' ], - }, - ], }, |