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() {
|
||||
return "";
|
||||
return (min_version(11) ? " PRIMARY KEY" : "");
|
||||
}
|
||||
|
||||
function alter_table($table, $name, $fields, $foreign, $comment, $engine, $collation, $auto_increment, $partitioning) {
|
||||
|
Reference in New Issue
Block a user