sqlite syntax error when a field is named group
Thanks for reporting, looking -- the quote thing may not work as I think mysql likes backticks, but this is definitelysomething that needs to be addressed.
 Nice fix!
 peewee now quotes columns and table names as well...closing
360e55f28a606dfeabc68a5c7dcabb9e109ec0bd
6b2a8278d9a068b71ae110f37626d053bdbcec1d

The orm generates this sql string

 CREATE TABLE thethable (stat INTEGER NOT NULL, group VARCHAR(255) NOT NULL) 

for a model that has stat an integerField and group a CharField.

sqlite3 then gives an operationalError: near "group" syntax error 

probably since group is a keyword, but if we put quote marks around group, the statement passes.

a possible fix is to change the line 1803 (Field class, to_sql method) in peewee.py from return '%s %s' % (self.name, rendered) to
return '"%s" %s' % (self.name, rendered)
