From 2d99f75c604e58ad62d38fe34183d1fd84d356c0 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 24 Jun 2009 19:50:40 +0000 Subject: Remove table column from relations table view as its redundant data. --- Interfaces/English.lproj/DBView.xib | 69 ++++++------------------------------- Source/SPTableRelations.m | 1 - 2 files changed, 10 insertions(+), 60 deletions(-) diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index e4cae661..e17e2aec 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -8,7 +8,7 @@ 353.00 YES - + YES @@ -614,7 +614,7 @@ source - + 256 YES @@ -1932,7 +1932,6 @@ {{10, 7}, {700, 544}} - Structure @@ -2958,7 +2957,7 @@ -2042609409 35 - + NSImage button_action @@ -2973,10 +2972,7 @@ 1048576 2147483647 - - NSImage - button_action - + _popUpItemAction: @@ -3978,7 +3974,7 @@ relations - + 256 YES @@ -4043,33 +4039,6 @@ YES - - table - 1.000000e+02 - 1.000000e+01 - 3.402823e+38 - - 75628032 - 0 - Table - - - - - - 337772096 - 133120 - Text Cell - - - - - - 3 - YES - YES - - columns 1.020000e+02 @@ -4381,20 +4350,21 @@ {{10, 7}, {700, 544}} + Relations - + 134217731 YES YES YES - + @@ -21126,7 +21096,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 YES - @@ -21211,20 +21180,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 SPTableRelations - - 5576 - - - YES - - - - - - 5577 - - - 5578 @@ -24333,8 +24288,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 5567.IBPluginDependency 557.IBPluginDependency 557.ImportedFromIB2 - 5576.IBPluginDependency - 5577.IBPluginDependency 5578.IBPluginDependency 5579.IBPluginDependency 5580.IBPluginDependency @@ -25831,8 +25784,8 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{306, 323}, {944, 550}} - {{306, 323}, {944, 550}} + {{187, 237}, {944, 550}} + {{187, 237}, {944, 550}} {{62, 352}, {845, 504}} @@ -26214,8 +26167,6 @@ aGUgYWN0aXZlIHNlbGVjdGlvbiAo4oyl4oyYUik com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin {{610, 374}, {302, 307}} {{610, 374}, {302, 307}} diff --git a/Source/SPTableRelations.m b/Source/SPTableRelations.m index 757dc991..b10d5f46 100644 --- a/Source/SPTableRelations.m +++ b/Source/SPTableRelations.m @@ -318,7 +318,6 @@ for (NSDictionary *constraint in constraints) { [relationData addObject:[NSDictionary dictionaryWithObjectsAndKeys: - [tablesListInstance tableName], @"table", [constraint objectForKey:@"name"], @"name", [constraint objectForKey:@"columns"], @"columns", [constraint objectForKey:@"ref_table"], @"fk_table", -- cgit v1.2.3