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