TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: Resourcez on May 08, 2008, 11:34:28 AM

Title: [bugtracker] Articles table, new vs upgrade, conflicting types for illustration field
Post by: Resourcez on May 08, 2008, 11:34:28 AM
In a new install, the articles table illustration field is created as type "TEXT" (line 609).
`illustration` TEXT NOT NULL,

However, if your existing tp articles table is updated,  the illustration field is created as type "INT" (line 567).
mysql_query("ALTER TABLE `{$tp_prefix}articles` ADD `illustration` int NOT NULL")
Title: Re: [bugtracker] Articles table, new vs upgrade, conflicting types for illustration field
Post by: bloc on May 15, 2008, 08:01:44 PM
Fixed for TP1.0 beta 2