Ticket #449 (new Feature Request)
Porting DBForge Functionality from CI 1.6
| Reported by: | kolanos | Owned by: | kolanos |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.2 |
| Component: | Modules | Version: | SVN HEAD |
| Keywords: | dbforge | Cc: |
Description
I decided to try my hand at porting DBForge functionality over from CI 1.6 to Kohana. I have attached what I have done so far, the MySQL and MySQLi drivers are fully functional, however the Postgre and SQLite drivers required more testing/tweaking.
Features:
- Create database (MySQL, MySQLi, and Postgre only)
- Drop database (MySQL, MySQLi, and Postgre only)
- Create table (MySQL, MySQLi, and Postgre only)
- Drop table (MySQL, MySQLi, and Postgre only)
- Alter tables
More info: http://codeigniter.com/user_guide/database/forge.html
The DBForge functionality could be really useful for modules, where modules could create databases/tables on the fly.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
