Created
December 14, 2011 21:19
-
-
Save weaverryan/1478584 to your computer and use it in GitHub Desktop.
Propel with sqlite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dbal: | |
driver: sqlite | |
dsn: sqlite:/temp/abc.db | |
options: {} | |
attributes: {} |
I'd like to read errors actually
Yes, fails here: https://github.com/propelorm/PropelBundle/blob/master/Command/AbstractPropelCommand.php#L387
due to no match on dbname - so an undefined index.
Are you using database:create
/database:drop
commands ?
yep, sorry - yes - those exactly... and I just realized that that's probably not necessary with sqlite :). Is that right? Did it as muscle memory from Doctrine, which doesn't fail on that command (but doesn't actually do anything other than create a blank file, I think).
Yeah, I'll work on a patch to handle that case. There is no need to create a database using SQLite :)
Thanks Will - wish I had thought of that :) - but I really appreciate you setting me straight.
My pleasure :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does this configuration fail ?