public function testAddingBigInteger() { $blueprint = new Blueprint('users'); $blueprint->bigInteger('foo'); $statements = $blueprint->toSql($this->getConnection(), $this->getGrammar()); $this->assertEquals(1, count($statements)); $this->assertEquals('alter table users add ( foo number(19,0) not null )', $statements[0]); $blueprint = new Blueprint('users'); $blueprint->bigInteger('foo', true); $statements = $blueprint->toSql($this->getConnection(), $this->getGrammar()); $this->assertEquals(1, count($statements)); $this->assertEquals('alter table users add ( foo number(19,0) not null, constraint users_foo_primary primary key ( foo ) )', $statements[0]); }