mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 23:57:29 +02:00
PostgreSQL 11: Create PRIMARY KEY for auto increment columns
This commit is contained in:
@@ -491,7 +491,7 @@ ORDER BY connamespace, conname") as $row) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function auto_increment() {
|
function auto_increment() {
|
||||||
return "";
|
return (min_version(11) ? " PRIMARY KEY" : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
function alter_table($table, $name, $fields, $foreign, $comment, $engine, $collation, $auto_increment, $partitioning) {
|
function alter_table($table, $name, $fields, $foreign, $comment, $engine, $collation, $auto_increment, $partitioning) {
|
||||||
|
@@ -8,6 +8,7 @@ PostgreSQL: Do not show view definition from other schema (PR #392)
|
|||||||
PostgreSQL: Use bigserial for bigint auto increment (bug #765, regression from 3.0.0)
|
PostgreSQL: Use bigserial for bigint auto increment (bug #765, regression from 3.0.0)
|
||||||
PostgreSQL PDO: Support PgBouncer, unsupport PostgreSQL < 9.1 (bug #771)
|
PostgreSQL PDO: Support PgBouncer, unsupport PostgreSQL < 9.1 (bug #771)
|
||||||
PostgreSQL 10: Support GENERATED ALWAYS BY IDENTITY (PR #386)
|
PostgreSQL 10: Support GENERATED ALWAYS BY IDENTITY (PR #386)
|
||||||
|
PostgreSQL 11: Create PRIMARY KEY for auto increment columns
|
||||||
MS SQL: Don't truncate comments to 30 chars (PR #376)
|
MS SQL: Don't truncate comments to 30 chars (PR #376)
|
||||||
Editor: Cast to string when searching (bug #325)
|
Editor: Cast to string when searching (bug #325)
|
||||||
Re-enable PHP warnings (regression from 4.7.8)
|
Re-enable PHP warnings (regression from 4.7.8)
|
||||||
|
Reference in New Issue
Block a user