Changed the create table function. This way it is possible to add the field definition yourself