Hi,
Here is my source code of schema.yml:
#*# YAML Template.*
*# config/doctrine/schema.yml*
*Jobeet1Category:*
* actAs: { Timestampable: ~ }*
* columns:*
* name: { type: string(255), notnull: true, unique: true }*
*
*
*Jobeet1Job:*
* actAs: { Timestampable: ~ }*
* columns:*
* category_id: { type: integer, notnull: true }*
* type: { type: string(255) }*
* company: { type: string(255), notnull: true }*
* logo: { type: string(255) }*
* url: { type: string(255) }*
* position: { type: string(255), notnull: true }*
* location: { type: string(255), notnull: true }*
* description: { type: string(4000), notnull: true }*
* how_to_apply: { type: string(4000), notnull: true }*
* token: { type: string(255), notnull: true, unique: true }*
* is_public: { type: boolean, notnull: true, default: 1 }*
* is_activated: { type: boolean, notnull: true, default: 0 }*
* email: { type: string(255), notnull: true }*
* expires_at: { type: timestamp, notnull: true }*
* relations:*
* Jobeet1Category: { onDelete: CASCADE, local: category_id, foreign: id,
foreignAlias: Jobeet1Jobs }*
*
*
*Jobeet1Affiliate:*
* actAs: { Timestampable: ~ }*
* columns:*
* url: { type: string(255), notnull: true }*
* email: { type: string(255), notnull: true, unique: true }*
* token: { type: string(255), notnull: true }*
* is_active: { type: boolean, notnull: true, default: 0 }*
* relations:*
* Jobeet1Categories:*
* class: Jobeet1Category*
* refClass: Jobeet1CategoryAffiliate*
* local: affiliate_id*
* foreign: category_id*
* foreignAlias: Jobeet1Affiliates*
*
*
*Jobeet1CategoryAffiliate:*
* columns:*
* category_id: { type: integer, primary: true }*
* affiliate_id: { type: integer, primary: true }*
* relations:*
* Jobeet1Category: { onDelete: CASCADE, local: category_id, foreign: id
}*
* Jobeet1Affiliate: { onDelete: CASCADE, local: affiliate_id, foreign: id
}*
2011/2/13 Srivatsa Prasad <[email protected]>
> Hi,
>
> Post your schema, i will have a look and try to help u .
>
> On Sun, Feb 13, 2011 at 3:10 AM, rahhal mahassen <
> [email protected]> wrote:
>
>> Hello,
>> I'm a new bee using symfony.I tried to do the fourth day of the jobeet
>> project.I have this error that i can't solve it(it's shown above).
>> My executeShow function in actions.class.php is:
>>
>> * public function executeShow(sfWebRequest $request)*
>> *{*
>> * $this->job = Doctrine::getTable('Jobeet1Job')->
>> find($request->getParameter('id'));*
>> * $this->forward404Unless($this->job);*
>> *}*
>> *
>> *
>> Can you please help me to solve this big problem.
>>
>> --
>> If you want to report a vulnerability issue on symfony, please send it to
>> security at symfony-project.com
>>
>> 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
>>
>
>
>
> --
> Thanks & Regards
> Srivatsa
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> 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
>
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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