Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
Installing database package 2.0?
Francois_Maujean
July 2013
Hello there!
First, thanks for this awesome work.
I'm starting a new project, actually, refactoring an old website.
Should I use the new database package 2.0 and how can I install it?
I use PostgreSQL.
Best regards,
François
Harro
July 2013
Accepted Answer
It's not 100% complete yet, but you can install it like all other 2.0 components, using Composer.
Check the composer.json file in your installation root, it already contains Upload, you can just add Database to it.
Francois_Maujean
July 2013
Ok, thank you, what about ORM, will it use the new database components?
Or will I have to do something to adapt?
Harro
July 2013
Accepted Answer
No, the current ORM is hardcoded to use the existing 1.x DB layer.
There's a new 2.0 ORM coming that will use the 2.0 DBAL, but it's not ready yet.
Francois_Maujean
July 2013
ok, I'll stay with 1.x DB then
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Francois_Maujean
July 2013
Harro
July 2013