/**
  * Return the custom field attributes.
  *
  * @return array
  */
 public function attributes()
 {
     return ['data-field' => $this->object->getField(), 'data-field_name' => $this->object->getFieldName(), 'data-provides' => $this->object->getNamespace()];
 }
 /**
  * Rename the pivot table.
  *
  * @param Blueprint $table
  * @param FieldType $from
  */
 public function renameColumn(Blueprint $table, FieldType $from)
 {
     $this->schema->rename($table->getTable() . '_' . $from->getField(), $table->getTable() . '_' . $this->fieldType->getField());
 }