auto increment field in Peewee
<p>Is there a way to define autoincrement Field in peewee.</p>

<p>I understand we could define sequence but the need to create the sequence manually and not managed by create_tables deters me from using it. ( The build process is managed by create tables and I would prefer not to add manual steps )</p>

<pre><code>import peewee
class TestModel(peewee.Model):
    test_id = peewee.BigIntegerField(sequence='test_id_seq')
</code></pre>

<p>Alternate to the above code I would rather have. As most databases have serial field I dont see a point maintaining a sequence. </p>

<pre><code>import peewee
class TestModel(peewee.Model):
    test_id = peewee.AutoIncremenetIntField() 
</code></pre>