Wappler Version : 3.8.3 onwards including 3.9.1
Operating System : OSX 11.2.3
Server Model: NodeJs
Database Type: MYSQL8
Hosting Type: Docker (on local machine)
Expected behavior
What do you think should happen?
When creating a boolean field type it should be saved as a boolean field type and shoule be rpresented in queries and a boolean field type.
Actual behavior
What actually happens?
Wappler chnages the Boolean filed to type to “Integer” and in query manager shows the field type as number. However, when looking at the filed type in Navicat it shows the filed type as tinyint.
This has started to occur from wappler 3.8.3 and onward and is still present in the current version 3.9.1
How to reproduce
I only noticed this starting after refreshing the schema while using 3.8.3.
Attached below is the video of it occurring while creating a new boolean field in Wappler 3.9.1 it shows all the # Integer fields which used to be Boolean and creating a new boolean field.
boolean to int
The following images is an example showing a query created before version 3.8.3 and it is correctly showing the field type as they were before the change - Boolean.
The screen image below shows the query shown when creating in version 3.8.3+ and shows the same fields now changing to “Number”
The following image shows how they are represented in Navicat vs Wappler
I have tried reconnecting refreshing and reinstalling and it still occurs I can not create a Boolean or change Integer Fields back to Boolean in Wappler.
Looking at Navicat it looks like it is creating the fields correctly but is not being referenced correctly in Wappler.