You are here

function persistent_login_update_8102 in Persistent Login 8

Add refreshed column to database table.

File

./persistent_login.install, line 103
Installation functions for Persistent Login module.

Code

function persistent_login_update_8102() {
  Drupal::database()
    ->schema()
    ->addField('persistent_login', 'refreshed', [
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'initial' => '0',
    'description' => 'The refresh timestamp for this series.',
  ]);
}