You are here

function agreement_update_8200 in Agreement 3.0.x

Same name and namespace in other branches
  1. 8.2 agreement.install \agreement_update_8200()

8200: Updates length of {agreement.sid} column.

File

./agreement.install, line 66
Install, update and uninstall functions for Agreement module.

Code

function agreement_update_8200() {
  $schema = \Drupal::database()
    ->schema();
  $schema
    ->changeField('agreement', 'sid', 'sid', [
    'type' => 'varchar',
    'length' => 100,
  ]);
}