rename type field to databaseType
update to v0.3.5