phpmyadmin won't change MySQL TINYINT(1) to BOOLEAN data type -
i'm running mysql 5.5.47 , have number of database tables have columns data type of tinyint(1). i'm attempting change these boolean won't change them.
using phpmyadmin 4.6.0 going structure i'm using dropdown set columns boolean. executes following query:
alter table `feedback` change `tick_receive_updates` `tick_receive_updates` boolean not null; the query runs successfully.
when view structure not update: columns still marked being tinyint(1)
at first thought phpmyadmin bug ran
describe feedback; unfortunately problem remains - columns have not changed tinyint(1)
why this?
this normal behavior boolean synonym of tinyint(1)
mysql 5.7 reference manual - 12.1.1 numeric type overview
bool, boolean
these types synonyms tinyint(1). value of 0 considered false. nonzero values considered true:
Comments
Post a Comment