-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Create Forge::dropPrimaryKey() #6488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This method drops a primary key on an existing table
This method removes primary key from Table class preventing the primary key from being recreated.
This method uses the Sqlite Table class to dop the primary key
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. Looks good to me but let's get another review from a database maintainer.
@sclubricants Related to my last comment, I am working on putting together a team for database reviews and issues: https://forum.codeigniter.com/showthread.php?tid=82920 Would you be willing to join this team? It wouldn't be much different than how things are now, but you might get more requests to look at database Pull Requests. Any participation is of course optional (we're all volunteers here). Your expertise would be very welcome! |
@MGatner Sure, be glad to help. Im working on a PDO/ODBC driver as we speak. ODBC gets messy. I half way built one a while back but it needs a lot of work. Would be great to have it as part of CI. I use it a lot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR creates a method to drop primary keys from a table.
This is the second part of #6430
This solves part of #4653
Checklist: