testCreateTableWithSeparatePk() public method

Example #1
0
 public function testCreateTableWithSeparatePk()
 {
     $pkColumn = parent::testCreateTableWithSeparatePk();
     $this->assertEquals('"foo" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL', $pkColumn->toSql());
 }
Example #2
0
 public function testCreateTableWithSeparatePk()
 {
     $pkColumn = parent::testCreateTableWithSeparatePk();
     $this->assertEquals('`foo` int(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY', $pkColumn->toSql());
 }
Example #3
0
 public function testCreateTableWithSeparatePk()
 {
     $pkColumn = parent::testCreateTableWithSeparatePk();
     $this->assertEquals('"foo" serial primary key', $pkColumn->toSql());
 }