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