recreate table WIP

This commit is contained in:
Jan Prochazka
2021-08-26 16:29:28 +02:00
parent dfe37496f2
commit 3bbe06a55b
10 changed files with 222 additions and 12 deletions

View File

@@ -17,10 +17,19 @@ const dialect = {
explicitDropConstraint: true,
stringEscapeChar: "'",
fallbackDataType: 'nvarchar(max)',
dropColumnDependencies: ['index'],
dropColumnDependencies: ['index', 'primaryKey'],
quoteIdentifier(s) {
return `[${s}]`;
},
createColumn: true,
dropColumn: true,
createIndex: true,
dropIndex: true,
createForeignKey: false,
dropForeignKey: false,
createPrimaryKey: false,
dropPrimaryKey: false,
};
/** @type {import('dbgate-types').EngineDriver} */