ALTER TABLE `wp_[TABLE_NAME]` ADD `field_[FIELD_ID]` double NOT NULL DEFAULT '0'; ALTER TABLE `wp_[TABLE_NAME]` ADD `field_[FIELD_ID]_si` double NOT NULL DEFAULT '0'; ALTER TABLE `wp_[TABLE_NAME]` ADD `field_[FIELD_ID]_unit` int NULL; UPDATE `wp_wpl_dbst` SET `table_name`='[TABLE_NAME]', `table_column`='field_[FIELD_ID]' WHERE id=[FIELD_ID];