Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » MySQL tinyint not changeable to boolean
MySQL tinyint not changeable to boolean [message #3351] Mon, 21 January 2013 17:19 Go to previous message
markcarranza is currently offline  markcarranza
Messages: 14
Registered: December 2012
Location: San Francisco, CA, USA
Junior Member
Here's a sample ALTER script

ALTER TABLE `dict_table`
ADD COLUMN `is_int_boolean` TINYINT NOT NULL DEFAULT 0 AFTER `revised_user`,
ADD COLUMN `is_char_boolean` CHAR(1) NOT NULL DEFAULT 'Y' AFTER `is_int_boolean` ;

After importing columns,
- cannot update is_int_boolean to BOOLEAN
- can update is_char_boolean to BOOLEAN

http://www.tonymarston.net/php-mysql/infrastructure-faq.html #faq76

if I UPDATE dict_column.col_type_native to 'tinyint,boolean' then I can change it. I can see from previously imported columns that this used to work in (I think) 1.75
 
Read Message
Read Message
Previous Topic: sample v3.0.0 validation error
Next Topic: Tabs in php files
Goto Forum:
  


Current Time: Wed Nov 27 23:03:54 EST 2024

Total time taken to generate the page: 0.01146 seconds