× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
Shavi57 reported 2015-07-17T12:02:57Z  · tariqrahiman last modified 2017-05-23T21:42:53Z

MySQL 5.0 and 5.1 : when we try to create Foreign Key, Index gets created instead of foreign key


Dev pranav.jadhao(*)
QA
Thomas Conrad
tomconrad
Priority Major
Complexity Unknown
Component DB - MySQL
Version 19.0
Product: Aqua Data Studio
Version: 17.0.0-dev-82
Build #: 44760
Build Date: 2015-Jul-16 11:47:01 AM
 
Operating Environment: Linux (3.19.0-23-generic, amd64) / UTF-8 / en / IN / Oracle Corporation 1.8.0_40-b26
Memory: Max=704,643,072;  Total=527,958,016;  Free=193,119,328;  CPUs=8
 
Database: MySQL 5.0 and 5.1
 
Steps to reproduce issue:
 
Right click on Table node
Select Create table option
Specify table name "t1", column name "c1"
Select datatype as int
Go to Constraint tab
In Constraint on Table Pane ,Enter constraint name as "pk", type as "Primary Key"
In Constraint Definition Pane,Enter table columns as "c1"
Click on Create -> Table created successfully with primary key
Right click on Table node
Select Create table option
Specify table name "t2", column name "c1"
Select datatype as int
Go to Constraint tab
In Constraint on Table Pane ,Enter constraint name as "fk", type as "Foreign Key",Ref Schema as "DEFAULT", Ref Table as "t1"
In Constraint Definition Pane,Enter table columns as "c1", Refereenced column as "c1"
Go to Preview SQL tab -> Script is created correct.
Click on Create -> Table created successfully.
Go to schema browser
Expand created table > Constraint node 
 
Actual Result: Foreign Key is not created on table. If we expand Indexes node , "fk" named index is displayed.
3 attachments

Issue #13536

Closed
Won't Fix
Resolved 2017-04-19T05:43:09Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017