Dear friends,
I apologise for my curiousity, but I rarely choose the easiest way.
After OS Upgrade (Debian Sarge->Testing, i.e. php4->php5, mysql 4.x->5.0.22) I decided to upgrade the development version of a site from Drupal 4.6.5 -> 4.7.3. Backups were carefully done. I've done a clean installation of Drupal first, then added required modules and, finally, tried to fill the database tables, using saved as SQL old data.
During the installation I used the mysql 4.1 template for the Drupal DB. What bothers me is a noticeable difference in definition of `node` table:
What I have now from the template:
CREATE TABLE `node` (
`nid` int(10) unsigned NOT NULL auto_increment,
`vid` int(10) unsigned NOT NULL default '0',
`type` varchar(32) NOT NULL default '',
`title` varchar(128) NOT NULL default '',
`uid` int(10) NOT NULL default '0',
`status` int(4) NOT NULL default '1',
`created` int(11) NOT NULL default '0',
`changed` int(11) NOT NULL default '0',
`comment` int(2) NOT NULL default '0',
`promote` int(2) NOT NULL default '0',
`moderate` int(2) NOT NULL default '0',
`sticky` int(2) NOT NULL default '0',
PRIMARY KEY (`nid`,`vid`),
UNIQUE KEY `vid` (`vid`),
KEY `node_type` (`type`(4)),
KEY `node_title_type` (`title`,`type`(4)),
KEY `status` (`status`),