Home > Backend Development > PHP Tutorial > thinkphp3.3.2 cannot insert bit type

thinkphp3.3.2 cannot insert bit type

WBOY
Release: 2016-08-18 09:15:32
Original
1223 people have browsed it

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 cannot insert bit type

Reply content:

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 cannot insert bit type

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template