src/Components/DbSchemaExtras.php
public function setSchemaTableExtras($extras)
    {
        if (empty($extras)) {
            return;
        }

        foreach ($extras as $extra) {
            if (!empty($table = array_get($extra, 'table'))) {
                DbTableExtras::updateOrCreate(['service_id' => $this->getServiceId(), 'table' => $table],
                    array_only($extra, ['alias', 'label', 'plural', 'description', 'name_field']));
            }
        }
    }
public function setSchemaTableExtras($extras)
    {
        if (empty($extras)) {
            return;
        }

        foreach ($extras as $extra) {
            if (!empty($table = array_get($extra, 'table'))) {
                DbTableExtras::updateOrCreate(['service_id' => $this->getServiceId(), 'table' => $table],
                    array_only($extra, ['alias', 'label', 'plural', 'description', 'name_field']));
            }
        }
    }
@param array $extras

@return void