Welcome Guest, Not a member yet? Register   Sign In
How to create foreign keys
#1

Hi,
I am writing a migration tool for my database, and there are some foreign keys in it.
How can I create/remove foreign keys when necessary? It doesn't seem like DBFORGE is able to do that..
Reply
#2

You should be able to do it with the database query like I showed you for the create database.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

Not possible in this case unfortunately. My migration should be DB agnostic, as I have 2 main users, 1 using mysql and 1 postgres.
I will create a feature request
Reply




Theme © iAndrew 2016 - Forum software by © MyBB