SQLite: Allow deleting PRIMARY KEY from tables with auto increment
This commit is contained in:
parent
ca336427f5
commit
66e7ec56bb
|
@ -507,6 +507,9 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
|
|||
if ($table != "") {
|
||||
if (!$fields) {
|
||||
foreach (fields($table) as $key => $field) {
|
||||
if ($indexes) {
|
||||
$field["auto_increment"] = 0;
|
||||
}
|
||||
$fields[] = process_field($field, $field);
|
||||
$originals[$key] = idf_escape($key);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Adminer 4.6.1-dev:
|
||||
MySQL: Support non-utf8 charset in search in column
|
||||
MySQL: Support geometry in MySQL 8 (bug #574)
|
||||
SQLite: Allow deleting PRIMARY KEY from tables with auto increment
|
||||
PostgreSQL: Support binary files in bytea fields
|
||||
PostgreSQL: Cast to string when searching using LIKE (bug #325)
|
||||
PostgreSQL: Don't treat interval type as number (bug #474)
|
||||
|
|
2
todo.txt
2
todo.txt
|
@ -27,8 +27,6 @@ SQLite:
|
|||
Copy tables
|
||||
Delimiter in export and SQL command
|
||||
Backward keys in Editor
|
||||
Delete PRIMARY KEY from a table with auto increment
|
||||
"PRIMARY (`id`)" and "UNIQUE (id)" indexes shown for tables with auto increment
|
||||
|
||||
PostgreSQL:
|
||||
Display number of schemas in databases overview
|
||||
|
|
Loading…
Reference in a new issue