mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
remove sqlite
This commit is contained in:
@@ -8,7 +8,6 @@ import { makeWebdavBackend } from "./webdav/webdav-backend";
|
||||
import { makeMariaDBBackend } from "./mariadb/mariadb-backend";
|
||||
import { makeMySQLBackend } from "./mysql/mysql-backend";
|
||||
import { makePostgresBackend } from "./postgres/postgres-backend";
|
||||
import { makeSQLiteBackend } from "./sqlite/sqlite-backend";
|
||||
|
||||
type OperationResult = {
|
||||
error?: string;
|
||||
@@ -46,9 +45,6 @@ export const createVolumeBackend = (volume: Volume): VolumeBackend => {
|
||||
case "postgres": {
|
||||
return makePostgresBackend(volume.config, path);
|
||||
}
|
||||
case "sqlite": {
|
||||
return makeSQLiteBackend(volume.config, path);
|
||||
}
|
||||
default: {
|
||||
throw new Error(`Unsupported backend type: ${(volume.config as any).backend}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user