public function testDefaultNotFloat() { $this->expectException(ColumnException::class); $column = new DecimalColumn('foo', 10, 2); $column->setDefault('bar'); }
public function __construct(string $name, int $precision, int $scale = 0) { parent::__construct($name, $precision, $scale); $this->type = 'float'; }