In case you use propel: Use timestamp instead of datetime. Propel supports date, time and timestamp as date&column types:
http://propel.phpdb.org/docs/user_guide/chapters/ColumnTypes.html And it may read: > start_date: timestamp You missed the ":" - Frank Am 07.11.2007 um 10:25 schrieb Bayarsaikhan [Singleton LLC]: > Hi all, > > My schema.yaml is; > > adn_campaign: > _attributes: { phpName: Campaign} > id: > title: {type: varchar(255), required: true} > start_date datetime > end_date datetime > daily_limit integer > status: varchar(1) > advertiser_id: {type: integer, foreignTable: adn_advertiser, > foreignReference: id} > created_at: > updated_at: > > when i generate model, it doesn't generate start_date and end_date. > anyone knows why? > Is it a bug or am i doing something wrong? > > -- > Bayarsaikhan VOLODYA > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---