function persistent_login_update_8101 in Persistent Login 8
Add created column to database table.
File
- ./
persistent_login.install, line 86 - Installation functions for Persistent Login module.
Code
function persistent_login_update_8101() {
Drupal::database()
->schema()
->addField('persistent_login', 'created', [
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'initial' => time(),
'description' => 'The creation timestamp for this series.',
]);
}