1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-09 08:06:59 +02:00

Move possible drivers and JUSH to Driver

This commit is contained in:
Jakub Vrana
2025-03-06 14:27:58 +01:00
parent 049536da90
commit 5fdaae27dc
14 changed files with 38 additions and 83 deletions

View File

@@ -127,6 +127,9 @@ if (isset($_GET["sqlite"])) {
class Driver extends SqlDriver {
static $possibleDrivers = array("SQLite3", "PDO_SQLite");
static $jush = "sqlite";
protected $types = array(array("integer" => 0, "real" => 0, "numeric" => 0, "text" => 0, "blob" => 0));
var $editFunctions = array(
@@ -737,11 +740,4 @@ if (isset($_GET["sqlite"])) {
function support($feature) {
return preg_match('~^(check|columns|database|drop_col|dump|indexes|descidx|move_col|sql|status|table|trigger|variables|view|view_trigger)$~', $feature);
}
function driver_config() {
return array(
'possible_drivers' => array("SQLite3", "PDO_SQLite"),
'jush' => "sqlite",
);
}
}