You are here

function tacjs_update_8001 in TacJS 8.5

Create the tacjslog table

File

./tacjs.install, line 49

Code

function tacjs_update_8001() {
  $schema = Database::getConnection()
    ->schema();
  if (!$schema
    ->tableExists('tacjslog')) {
    $spec = tacjs_schema()['tacjslog'];
    $schema
      ->createTable('tacjslog', $spec);
  }
}