Welcome Guest, Not a member yet? Register   Sign In
Adding foreign key to exisiting table
#1

I would like to be able to add foreign key to an already existing table. We are working on an application and the database is likely to change over time. The only issue is altering an exisiting table. We would have used another framework but have decided to stick with codeigniter4 due to its performance.
Reply
Reply
#3

You can use $db->query().
See https://codeigniter4.github.io/userguide...ar-queries
Reply




Theme © iAndrew 2016 - Forum software by © MyBB