public function double($field, $attributes = []) { return $this->addField('double', $field, $attributes); }
/** * @test */ public function it_adds_a_double_map() { $blueprint = new Blueprint('post'); $blueprint->create(); $blueprint->double('temp'); $statement = $blueprint->toDSL($this->getGrammar()); $this->assertEquals(['temp' => ['type' => 'double']], $statement); }