Build a database (SQLite) with peewee WITHOUT setting in the python code the "name" of the table fields
The easiest way to do this is using the `type()` builtin:

```python
class BaseModel(Model):
    class Meta:
        database = ...

fields = {
    'dynamic1': CharField(),
    'dynamic2': IntegerField(),
    ...
}

# Create a new class. Signature is (name, bases, attrs).
MyTable = type('MyTable', (BaseModel,), fields)
```

This produces:

```python
>>> MyTable._meta.fields
{'id': <AutoField: MyTable.id>,
 'dynamic1': <CharField: MyTable.dynamic1>,
 'dynamic2': <IntegerField: MyTable.dynamic2>}

>>> MyTable._meta.table_name]
'mytable'
```
Hi everyboby
Hope my english will be understable
I need to read a folder fulled of Excel file and to feed a sqlite data base: Yes EASY
In fact I want to make a tool :
I feed a txt file with the name of the folder, the cells (eg: A1, B6, ...) and the names of the datas (eg: firstname, lastname, ...)
I lunch a Peewee program which reads the txt file and the folder and build the database
The difficulty is on the Class(Model): 

class mytable(Model):
    dynamic_data[0]=CharField()    "#  here "first_name" is in dynamic_data[0] 
    class Meta:
        database = db

 CharField() refuses to make an objet with a dynamic name coming from my txt file 

Who has an solution ?

Thank you !