mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-01 23:58:31 +00:00
fix: add sequence management methods to MysqlClient, OracleClient, and SqliteClient
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable no-constant-condition */
|
||||
import fs from 'fs';
|
||||
import { promisify } from 'util';
|
||||
import path from 'path';
|
||||
|
||||
@@ -2487,6 +2487,12 @@ class MysqlClient extends KnexClient {
|
||||
return result;
|
||||
}
|
||||
|
||||
async sequenceCreate(_args: any = {}): Promise<any> {}
|
||||
|
||||
async sequenceUpdate(_args: any = {}): Promise<any> {}
|
||||
|
||||
async sequenceDelete(_args: any = {}): Promise<any> {}
|
||||
|
||||
alterTableRemoveColumn(n, _o, existingQuery) {
|
||||
let query = existingQuery ? ',' : '';
|
||||
query += this.genQuery(` DROP COLUMN ??`, [n.cn]);
|
||||
|
||||
@@ -14,6 +14,16 @@ class OracleClient extends KnexClient {
|
||||
super(connectionConfig);
|
||||
}
|
||||
|
||||
async schemaCreateWithCredentials(_args): Promise<any> {}
|
||||
|
||||
async sequenceList(_args: any = {}): Promise<any> {}
|
||||
|
||||
async sequenceCreate(_args: any = {}): Promise<any> {}
|
||||
|
||||
async sequenceUpdate(_args: any = {}): Promise<any> {}
|
||||
|
||||
async sequenceDelete(_args: any = {}): Promise<any> {}
|
||||
|
||||
getKnexDataTypes() {
|
||||
const result = new Result();
|
||||
|
||||
|
||||
@@ -25,6 +25,16 @@ class SqliteClient extends KnexClient {
|
||||
this._version = {};
|
||||
}
|
||||
|
||||
async schemaCreateWithCredentials(_args): Promise<any> {}
|
||||
|
||||
async sequenceList(_args: any = {}): Promise<any> {}
|
||||
|
||||
async sequenceCreate(_args: any = {}): Promise<any> {}
|
||||
|
||||
async sequenceUpdate(_args: any = {}): Promise<any> {}
|
||||
|
||||
async sequenceDelete(_args: any = {}): Promise<any> {}
|
||||
|
||||
getKnexDataTypes() {
|
||||
const result = new Result();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user