You are here

function simplifying_update_8001 in Simplifying 8

Create table "simplifying_entity_unread"

File

./simplifying.install, line 51

Code

function simplifying_update_8001() {
  $schema = Database::getConnection()
    ->schema();
  if (!$schema
    ->tableExists('simplifying_entity_unread')) {
    $specs = simplifying_schema();
    $schema
      ->createTable('simplifying_entity_unread', $specs['simplifying_entity_unread']);
  }
}