# 2003-10-24 - alt@sonic.net, bug 224208
# Support classification level
-$dbh->bz_add_field('products', 'classification_id', 'smallint DEFAULT 1');
+$dbh->bz_add_field('products', 'classification_id', 'smallint NOT NULL DEFAULT 1');
# 2004-08-29 - Tomas.Kopal@altap.cz, bug 257303
# Change logincookies.lastused type from timestamp to datetime
"oldest_to_newest" );
+# 2005-04-07 - alt@sonic.net, bug 289455
+# make classification_id field type be consistent with DB:Schema
+$dbh->bz_change_field_type('products', 'classification_id',
+ 'smallint NOT NULL DEFAULT 1');
+
} # END LEGACY CHECKS
# If you had to change the --TABLE-- definition in any way, then add your