src/Neutrino/Database/Schema/Dialect/MysqlTrait.php
protected function compileTimableColumn(Fluent $column, $type)
    {
        $precision = !empty($column['precision']) ? '(' . $column['precision'] . ')' : '';

        $type .= $precision;

        if (!empty($column['default'])) {
            $type .= ' DEFAULT ' . $column['default'] . $precision;

            unset($column['default']);
        }

        if (!empty($column['onUpdate'])) {
            $type .= ' ON UPDATE ' . $column['onUpdate'] . $precision;

            unset($column['onUpdate']);
        }

        return $type;
    }
protected function compileTimableColumn(Fluent $column, $type)
    {
        $precision = !empty($column['precision']) ? '(' . $column['precision'] . ')' : '';

        $type .= $precision;

        if (!empty($column['default'])) {
            $type .= ' DEFAULT ' . $column['default'] . $precision;

            unset($column['default']);
        }

        if (!empty($column['onUpdate'])) {
            $type .= ' ON UPDATE ' . $column['onUpdate'] . $precision;

            unset($column['onUpdate']);
        }

        return $type;
    }
@param \Neutrino\Support\Fluent $column
@param string                   $type

@return string