usernane / phMysql

PHP library for building MySQL database schema and quires.
MIT License
4 stars 2 forks source link

Support For Boolean Type #18

Closed usernane closed 4 years ago

usernane commented 4 years ago

Add support for creating a column which has type boolean. The idea is that the column will be created as a varchar or an int. The value of the column can be something like 1 or Y for true and 0 or N for false.

Currently, I'm doing it using varchar and I use Y for true and N for false. Other people might have other implementations.