Unless you use the stock user system with Symfony, which creates a
table named 'user'. That won't work, I believe.
However, I will be finding out very soon, since I have to incorporate
the stock user system within a project within 2 weeks :-)
Also, Using Postgres.
On Feb 5, 3:10 am, Martin
hi, i like first create my schema on my DB with pgAdmin III and after
with symfony doctrine:build-schema , build-model, build-forms.
build-filters and i dont have problem :-) try.
and this generate relations with other tables on your schema.
On Mon, Jan 25, 2010 at 7:15 PM, webasker
Ok, this is weird. I tried changing the schema name, table name, and
column names to all lowercase, then it works. But I'm not allow to
change the database. Does anyone know why this is happening? How can
I work around this issue without changing the database?
Also, symfony
The database is created from PostGreSQL export and doctrine:build-
schema is used to generate the schema.yml file, then doctrine:build-
model to generate the model class. Here's the code for insert.
$obj = new User();
$obj-set('name', 'test');
Dennis, what do you mean quoting all table names and all column
names? where should I do that?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group,
How did you even create the table User? Did you quote any or all of
the table/column names. I have Postgres 8.4 and it won't let me even
create the user table unless I quote the table names (unfortuately,
Doctrine seems to only allow quoting ALL table names AND ALL column
names) Probably not much