Hey guys,
running into another problem with damn propel:

so I have a very basic db setup in my schema,yml

username: { varchar(255), required: true}
passkey : { varchar(255), required: true}
id : ~

So I run, the propel:build-schema, build-sql, and it seems to be fine.
But when I run propel:insert-sql, it spits out the following error:

CREATE TABLE `userinfo`
(
`username` VARCHAR NOT NULL,
`passkey` VARCHAR(255) NOT NULL,
`id` INTEGER NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
)Type=InnoDB
propel-sql-exec] SQLSTATE[42000]: Syntax error or access violation:
1064 You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax near
`passkey` VARCHAR(255) NOT NULL,
`id` INTEGER NOT NULL AUTO_INCR' at line 3

I am clueless with this, any help would be greatly appreciated!!!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to