Initial commit
This commit is contained in:
15
node_modules/knex/lib/dialects/cockroachdb/crdb-viewcompiler.js
generated
vendored
Executable file
15
node_modules/knex/lib/dialects/cockroachdb/crdb-viewcompiler.js
generated
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
const ViewCompiler_PG = require('../postgres/schema/pg-viewcompiler.js');
|
||||
|
||||
class ViewCompiler_CRDB extends ViewCompiler_PG {
|
||||
renameColumn(from, to) {
|
||||
throw new Error('rename column of views is not supported by this dialect.');
|
||||
}
|
||||
|
||||
defaultTo(column, defaultValue) {
|
||||
throw new Error(
|
||||
'change default values of views is not supported by this dialect.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ViewCompiler_CRDB;
|
||||
Reference in New Issue
Block a user