Note the addition of the "tableName" parameter. Also note that you
have a typo in the type parameter for the password type (but I'm
betting that's just a typo in recreating the schema for this email.
Charley
User:
tableName: user
columns:
id:
type: integer(4)
primary: true
autoincrement: true
username:
type: string(255)
password:
type: string(255)
On Dec 10, 2007, at 2:58 AM, Jonathan Franks wrote:
>
> I'm testing with a super simple schema...
>
> User:
> columns:
> id:
> type: integer(4)
> primary: true
> autoincrement: true
> username:
> type: string(255)
> password:
> type: stirng(255)
>
> But i get the same error message. The cache has been cleared.
>
> Charley Tiggs wrote:
>> Check your schema. I think I ran into this problem where the schema
>> was incorrectly defined. Unfortunately, the documentation is not yet
>> as accurate as it needs to be about using schema.yml. You may also
>> need to clear your cache.
>>
>> Charley
>>
>> On Dec 9, 2007, at 5:20 PM, Jonathan Franks wrote:
>>
>>
>>> I'm just trying out doctrine. I've followed the instructions on the
>>> wiki
>>> but get this error when I call doctrine tasks (like doctrine-build-
>>> model)
>>>
>>>> Warning: Invalid argument supplied for foreach() in
>>>> C:\wamp\www\sfcommerce\plugins\sfDoctrinePlugin\lib\doctrine
>>>> \Doctrine\Import\Schema.php
>>>> on line 332
>>>>
>>>> Warning: Invalid argument supplied for foreach() in
>>>> C:\wamp\www\sfcommerce\plugins\sfDoctrinePlugin\lib\doctrine
>>>> \Doctrine\Import\Schema.php
>>>> on line 406
>>>>
>>> anybody else had this problem?? I'm using the sample schema from the
>>> doctrine website. Thanks, jonathan
>>>
>>>
>>
>>
>>>
>>
>>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---