mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 07:03:38 +00:00
Allow USE RETURNING in SQLite
This commit is contained in:
parent
dade723eb8
commit
f40c1f517a
@ -24,6 +24,10 @@ class SqliteDialect extends Dialect {
|
||||
fse.ensureDirSync(dbDir);
|
||||
}
|
||||
|
||||
useReturning() {
|
||||
return true;
|
||||
}
|
||||
|
||||
async initialize() {
|
||||
await this.db.connection.raw('pragma foreign_keys = on');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user