testCreateTableWithSeparatePk() public method

コード例 #1
0
ファイル: SqliteTest.php プロジェクト: jubinpatel/horde
 public function testCreateTableWithSeparatePk()
 {
     $pkColumn = parent::testCreateTableWithSeparatePk();
     $this->assertEquals('"foo" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL', $pkColumn->toSql());
 }
コード例 #2
0
ファイル: MysqlBase.php プロジェクト: raz0rsdge/horde
 public function testCreateTableWithSeparatePk()
 {
     $pkColumn = parent::testCreateTableWithSeparatePk();
     $this->assertEquals('`foo` int(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY', $pkColumn->toSql());
 }
コード例 #3
0
ファイル: PgsqlTest.php プロジェクト: jubinpatel/horde
 public function testCreateTableWithSeparatePk()
 {
     $pkColumn = parent::testCreateTableWithSeparatePk();
     $this->assertEquals('"foo" serial primary key', $pkColumn->toSql());
 }