Skip to content

Commit

Permalink
Fixing the benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Jul 16, 2012
1 parent df26c54 commit 30550bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bench/peewee_bench/models.py
Expand Up @@ -5,7 +5,7 @@

class User(peewee.Model):
username = peewee.CharField()
active = peewee.BooleanField()
active = peewee.BooleanField(default=False)

class Meta:
database = test_db
Expand All @@ -22,8 +22,8 @@ class Meta:
class Entry(peewee.Model):
blog = peewee.ForeignKeyField(Blog)
title = peewee.CharField()
content = peewee.TextField()
pub_date = peewee.DateTimeField()
content = peewee.TextField(default='')
pub_date = peewee.DateTimeField(null=True)

class Meta:
database = test_db
Expand Down

0 comments on commit 30550bb

Please sign in to comment.