11 if (!$this->hasTable(
'annotations')) {
15 $table = $this->table(
'annotations');
16 if (
$table->hasIndexByName(
'time_created')) {
20 $table->addIndex([
'time_created'], [
21 'name' =>
'time_created',
change()
Adds an index to the annotations table for the time_created column.