oracle - using default schema

This commit is contained in:
Jan Prochazka
2024-05-31 15:21:49 +02:00
parent 2723c41832
commit df60d40134
11 changed files with 24 additions and 12 deletions

View File

@@ -1,6 +1,15 @@
const { SqlDumper, arrayToHexString, testEqualTypes } = global.DBGATE_TOOLS;
class Dumper extends SqlDumper {
createDatabase(name) {
this.putCmd(`CREATE USER c##${name}
IDENTIFIED BY ${name}
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp
QUOTA 10M ON users;`, name);
}
/** @param type {import('dbgate-types').TransformType} */
transform(type, dumpExpr) {
switch (type) {