During automatic table generation options

When a table is automatically generated, I have modified to be able to specify the options.
If the table does not exist, automatically generates a table before saving the record.
However, type of id always becomes "string".