mysql column comments #218 #81

This commit is contained in:
Jan Prochazka
2022-02-10 12:46:00 +01:00
parent c3c63da752
commit 691bb0af4f
8 changed files with 37 additions and 6 deletions

View File

@@ -35,6 +35,11 @@ const dialect = {
dropCheck: true,
dropReferencesWhenDropTable: true,
columnProperties: {
isSparse: true,
isPersisted: true,
},
};
/** @type {import('dbgate-types').EngineDriver} */
@@ -66,7 +71,10 @@ const driver = {
{ label: 'New view', sql: 'CREATE VIEW myview\nAS\nSELECT * FROM table1' },
{ label: 'New procedure', sql: 'CREATE PROCEDURE myproc (@arg1 INT)\nAS\nBEGIN\n SELECT * FROM table1\nEND' },
{ label: 'New function', sql: 'CREATE FUNCTION myfunc (@arg1 INT) RETURNS INT\nAS\nBEGIN\n RETURN 1;\nEND' },
{ label: 'New table valued function', sql: 'CREATE FUNCTION myfunc (@arg1 INT) RETURNS TABLE \nAS\nRETURN SELECT * FROM table1' },
{
label: 'New table valued function',
sql: 'CREATE FUNCTION myfunc (@arg1 INT) RETURNS TABLE \nAS\nRETURN SELECT * FROM table1',
},
];
},
};