You are here

function bynder_update_7102 in Bynder 7

Updating description field length.

File

./bynder.install, line 200
Install, update and uninstall functions for the Media: Bynder module.

Code

function bynder_update_7102() {
  try {
    db_change_field('bynder_media_entity', 'description', 'description', [
      'description' => 'The description of the asset.',
      'type' => 'text',
      'size' => 'big',
      'not null' => false,
    ]);
  } catch (Exception $e) {
    watchdog('bynder', $e
      ->getMessage());
  }
}