Field type CharField limited to 255 characters.
Unfortunately, Pwiz does not introspect the size the a VARCHAR field.

Additionally, in order to not break compatibility with older versions of peewee, the `max_length` attribute defaults to `255`.  So the following are equivalent:

``` python

foo = CharField()
bar = CharField(max_length=255)
```

If you would like to use 3000 characters:

``` python
baz = CharField(max_length=3000)
```

Or even better,

``` python
baz = TextField()
```
 Yes, that's what I did finally (CharField to TextField).

It might be an idea to avert the user that the values have been cut off. Maybe raise an exception?
 > Maybe raise an exception?

That seems like a good plan.  Thanks, and sorry for the confusion.

The field type "CharField" gets truncated to 255 characters.  You can define VARCHAR fields in PostgreSQL of size bigger then 255.

Maybe one could raise an exception if a value gets cut off?

Test case:

``` python
'''
-- create test table in postgresql

CREATE TABLE sample(
id          SERIAL PRIMARY KEY
,data       VARCHAR(3000)
);
'''

################################################################################
# classes generated by pwiz.py
# pwiz.py -e postgresql test > model.txt
from peewee import *

database = PostgresqlDatabase('test', **{})

class UnknownFieldType(object):
    pass

class BaseModel(Model):
    class Meta:
        database = database

class Sample(BaseModel):
    data = CharField(null=True)

    class Meta:
        db_table = 'sample'




################################################################################

# test
sequence = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."

print "string length before submission:",len(sequence)

# save data in database
entry = Sample.create(data=sequence)

# retrieve data back from database
entry_db = Sample.get(Sample.id == entry.id)
print "string length in database after submission:",len(entry_db.data)

'''
Output:
string length before submission: 574
string length in database after submission: 255    
'''
```
