Browse Source

chore: set sqlite charset/encoding to utf8

Signed-off-by: Pranav C <pranavxc@gmail.com>
feat/better-sqlite3
Pranav C 2 years ago committed by mertmit
parent
commit
db78a2ebc8
  1. 1
      packages/nocodb/src/lib/db/sql-client/lib/sqlite/SqliteClient.ts

1
packages/nocodb/src/lib/db/sql-client/lib/sqlite/SqliteClient.ts

@ -127,6 +127,7 @@ class SqliteClient extends KnexClient {
try {
const exists = await promisify(fs.exists)(args.database);
this.connectionConfig.connection.client = this.connectionConfig.connection.client === 'sqlite3' ? 'better-sqlite3' : this.connectionConfig.connection.client;
this.connectionConfig.connection.client = this.connectionConfig.connection.client === 'sqlite3' ? 'better-sqlite3' : this.connectionConfig.connection.client;

Loading…
Cancel
Save