You are here

function yoast_seo_update_7000 in Real-time SEO for Drupal 7

Change yoast_seo field scheme type from 'int' to 'float'.

File

./yoast_seo.install, line 119
Install, update, and uninstall functions for the Yoast SEO for Drupal module.

Code

function yoast_seo_update_7000() {
  db_drop_primary_key('yoast_seo');
  db_change_field('yoast_seo', 'seo_status', 'seo_status', array(
    'type' => 'float',
    'unsigned' => FALSE,
  ));
}