Initial commit - Event Planner application
This commit is contained in:
20
node_modules/kysely/dist/esm/dialect/sqlite/sqlite-adapter.js
generated
vendored
Normal file
20
node_modules/kysely/dist/esm/dialect/sqlite/sqlite-adapter.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/// <reference types="./sqlite-adapter.d.ts" />
|
||||
import { DialectAdapterBase } from '../dialect-adapter-base.js';
|
||||
export class SqliteAdapter extends DialectAdapterBase {
|
||||
get supportsTransactionalDdl() {
|
||||
return false;
|
||||
}
|
||||
get supportsReturning() {
|
||||
return true;
|
||||
}
|
||||
async acquireMigrationLock(_db, _opt) {
|
||||
// SQLite only has one connection that's reserved by the migration system
|
||||
// for the whole time between acquireMigrationLock and releaseMigrationLock.
|
||||
// We don't need to do anything here.
|
||||
}
|
||||
async releaseMigrationLock(_db, _opt) {
|
||||
// SQLite only has one connection that's reserved by the migration system
|
||||
// for the whole time between acquireMigrationLock and releaseMigrationLock.
|
||||
// We don't need to do anything here.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user