Hello,
I'm using apache torque to generate my mysql database layout.
In my torque definition I have some field defined as BOOLEAN.
As mysql does not supported boolean, torque generates a layout by replacing boolean by INTEGER.
The problem is that after creating my DB, if I do a dump and open my dump file I can see that this fields are marked as INT(11).
I don't understand why it is INT(11) and not INT(1). Is is a default value?
Thanks in advance for your explanations.
-------------------------
Philipin Alain
-------------------------
I'm using apache torque to generate my mysql database layout.
In my torque definition I have some field defined as BOOLEAN.
As mysql does not supported boolean, torque generates a layout by replacing boolean by INTEGER.
The problem is that after creating my DB, if I do a dump and open my dump file I can see that this fields are marked as INT(11).
I don't understand why it is INT(11) and not INT(1). Is is a default value?
Thanks in advance for your explanations.
-------------------------
Philipin Alain
-------------------------