 MODIFY COLUMN id_msg INT(10) UNSIGNED NOT NULL DEFAULT '0';
 ---#
 
----# Updating log_errors url
-ALTER TABLE {$db_prefix}log_errors
-MODIFY COLUMN url TEXT NOT NULL;
----#
-
----# Updating log_errors message
-ALTER TABLE {$db_prefix}log_errors
-MODIFY COLUMN message TEXT NOT NULL;
----#
-
----# Updating log_group_requests
-ALTER TABLE {$db_prefix}log_group_requests
-MODIFY COLUMN reason TEXT NOT NULL;
----#
-
----# Updating log_member_notices
-ALTER TABLE {$db_prefix}log_member_notices
-MODIFY COLUMN body TEXT NOT NULL;
----#
-
----# Updating log_packages steps
-ALTER TABLE {$db_prefix}log_packages
-MODIFY COLUMN failed_steps TEXT NOT NULL;
----#
-
----# Updating log_packages db_changes
-ALTER TABLE {$db_prefix}log_packages
-MODIFY COLUMN db_changes TEXT NOT NULL;
----#
-
 ---# Updating log_reported
 ALTER TABLE {$db_prefix}log_reported
 MODIFY COLUMN body MEDIUMTEXT NOT NULL;

MODIFY COLUMN time INT(10) NOT NULL DEFAULT '0';
---#

---# Updating messages body
ALTER TABLE {$db_prefix}messages
MODIFY COLUMN body TEXT NOT NULL;
---#

---# Updating personal_messages body
ALTER TABLE {$db_prefix}personal_messages
MODIFY COLUMN body TEXT NOT NULL;
---#

---# Updating pm_recipients is_new
ALTER TABLE {$db_prefix}pm_recipients
MODIFY COLUMN is_new TINYINT UNSIGNED NOT NULL DEFAULT '0';
---#

---# Updating pm_rules actions
ALTER TABLE {$db_prefix}pm_rules
MODIFY COLUMN actions TEXT NOT NULL;
---#

---# Updating pm_rules criteria
ALTER TABLE {$db_prefix}pm_rules
MODIFY COLUMN criteria TEXT NOT NULL;
---#

---# Updating pm_rules id_member
ALTER TABLE {$db_prefix}pm_rules
MODIFY COLUMN id_member MEDIUMINT UNSIGNED NOT NULL DEFAULT '0';

MODIFY COLUMN last_update INT UNSIGNED NOT NULL DEFAULT '0';
---#

/******************************************************************************/
--- Clean up indexes
/******************************************************************************/
