About databases

there is a way to create a database from wix code?
there is a way to create fields with from wix code?

About the fields they can be crated with .insert command, but they go without the data type, any solution?

Hi,
Unfortunately it is not possible to create a database or a field from code. However, as you have discovered, you can still insert data to non-existing fields and it will be preserved, just without a data type.

You can later go to a database and define data type for those fields manually only.