You are here

function masquerade_update_8200 in Masquerade 8.2

Remove the {masquerade} table.

File

./masquerade.install, line 11
Install, uninstall, and update hooks for the Masquerade module.

Code

function masquerade_update_8200() {
  $schema = \Drupal::database()
    ->schema();
  if ($schema
    ->tableExists('masquerade')) {
    $schema
      ->dropTable('masquerade');
  }
}