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

        foreach ($extras as $extra) {
            if (!empty($table = array_get($extra, 'table')) &&
                !empty($field = array_get($extra, 'field'))
            ) {
                DbFieldExtras::updateOrCreate([
                    'service_id' => $this->getServiceId(),
                    'table'      => $table,
                    'field'      => $field
                ], array_only($extra,
                    [
                        'alias',
                        'label',
                        'extra_type',
                        'description',
                        'picklist',
                        'validation',
                        'client_info',
                        'db_function',
                        'is_virtual',
                        'is_aggregate',
                    ]));
            }
        }
    }
public function setSchemaFieldExtras($extras)
    {
        if (empty($extras)) {
            return;
        }

        foreach ($extras as $extra) {
            if (!empty($table = array_get($extra, 'table')) &&
                !empty($field = array_get($extra, 'field'))
            ) {
                DbFieldExtras::updateOrCreate([
                    'service_id' => $this->getServiceId(),
                    'table'      => $table,
                    'field'      => $field
                ], array_only($extra,
                    [
                        'alias',
                        'label',
                        'extra_type',
                        'description',
                        'picklist',
                        'validation',
                        'client_info',
                        'db_function',
                        'is_virtual',
                        'is_aggregate',
                    ]));
            }
        }
    }
@param array $extras

@return void