Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How to use Forge Class to create a database schema?
Post: RE: How to use Forge Class to create a database sc...

I think the only way to do it with Forge Class is the one I did in first post, but some nice alternatives was posted, so as soon I discovery how to close this topic, I will do it. Thanks all for th...
15,632 Views
11 Replies
01-24-2017, 04:41 AM
Rodrigo Valentim
    Thread: How to use Forge Class to create a database schema?
Post: RE: How to use Forge Class to create a database sc...

qury Wrote: (01-20-2017, 10:36 AM) -- if the application is on a standalone client (kiosk) is there a need to access the database simultaneously by multiple processes? If not, you could create an ...
15,632 Views
11 Replies
01-24-2017, 04:37 AM
Rodrigo Valentim
    Thread: How to use Forge Class to create a database schema?
Post: RE: How to use Forge Class to create a database sc...

enlivenapp Wrote: (01-20-2017, 08:39 AM) -- Rodrigo Valentim Wrote: (01-20-2017, 03:27 AM) -- InsiteFX Wrote: (01-19-2017, 09:50 AM) -- You can use the native MySQLi calls to create anything that y...
15,632 Views
11 Replies
01-24-2017, 04:25 AM
Rodrigo Valentim
    Thread: How to use Forge Class to create a database schema?
Post: RE: How to use Forge Class to create a database sc...

InsiteFX Wrote: (01-20-2017, 04:45 AM) -- You would not be able to use the CodeIgniter database settings at the start. Code to create the database: PHP Code: -- -- You would then need a way...
15,632 Views
11 Replies
01-24-2017, 04:16 AM
Rodrigo Valentim
    Thread: How to use Forge Class to create a database schema?
Post: RE: How to use Forge Class to create a database sc...

InsiteFX Wrote: (01-19-2017, 09:50 AM) -- You can use the native MySQLi calls to create anything that you need for the database. -- How? I try to load only the driver, but I found nothing in the gu...
15,632 Views
11 Replies
01-20-2017, 03:27 AM
Rodrigo Valentim
    Thread: Forge Class bug in numeric field name
Post: RE: Forge Class bug in numeric field name

php_rocs Wrote: (01-18-2017, 12:37 PM) -- I don't know if this is an issue but your missing a "i" in your if statement.  Is that a mistake? -- Was a typo in cut and past. I fixed the add_field in D...
3,735 Views
2 Replies
01-19-2017, 04:13 AM
Rodrigo Valentim
    Thread: How to use Forge Class to create a database schema?
Post: RE: How to use Forge Class to create a database sc...

php_rocs Wrote: (01-18-2017, 11:53 AM) -- Based on my experience it is best that the database exist prior to installing the software (I'm not saying it can't be done) even if the database is empty.  ...
15,632 Views
11 Replies
01-19-2017, 03:57 AM
Rodrigo Valentim
    Thread: Forge Class bug in numeric field name
Post: Forge Class bug in numeric field name

If you set a field name in table that is a numeric value, because array_merge in DB_forge.php function add_field, this numeric names are transformed into array index, making wrong result. Code: --...
3,735 Views
2 Replies
01-18-2017, 04:38 AM
Rodrigo Valentim
    Thread: How to use Forge Class to create a database schema?
Post: How to use Forge Class to create a database schema...

I'm using CodeIgniter 3.1.0 to develop an app. In order to improve installation, I've written an Install_Controller, and an Install_Model. I want to use Database Forge class to manage the database sc...
15,632 Views
11 Replies
01-18-2017, 03:50 AM
Rodrigo Valentim

Theme © iAndrew 2016 - Forum software by © MyBB