Home >Backend Development >PHP Tutorial >thinkphp3.3.2 cannot insert bit type
thinkphp3.3.2 version
When using the M method to create data, there is a field in the database that is of type bit. I want to change it to 1, but thinkphp cannot change it. The error message is: 1406: Data too long for column 'business_license_is_permanent' at row 1
Various inquiries were fruitless, so I turned 360 degrees and knelt down to ask for a solution.
thinkphp3.3.2 version
When using the M method to create data, there is a field in the database that is of type bit. I want to change it to 1, but thinkphp cannot change it. The error message is: 1406: Data too long for column 'business_license_is_permanent' at row 1
Various inquiries were fruitless, so I turned 360 degrees and knelt down to ask for a solution.