From 795992fb4270e06a640bf118024f7dd96661c622 Mon Sep 17 00:00:00 2001 From: Pavel Date: Thu, 31 Jul 2025 18:31:49 +0200 Subject: [PATCH] feat: add add comment to table teest --- integration-tests/__tests__/alter-table.spec.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/integration-tests/__tests__/alter-table.spec.js b/integration-tests/__tests__/alter-table.spec.js index d0cfbfd61..65e1b2d3f 100644 --- a/integration-tests/__tests__/alter-table.spec.js +++ b/integration-tests/__tests__/alter-table.spec.js @@ -118,6 +118,15 @@ describe('Alter table', () => { }) ); + test.each(engines.filter(i => i.supportTableComments).map(engine => [engine.label, engine]))( + 'Add comment to table - %s', + testWrapper(async (conn, driver, engine) => { + await testTableDiff(engine, conn, driver, tbl => { + tbl.objectComment = 'Added table comment'; + }); + }) + ); + test.each(engines.filter(i => i.supportColumnComments).map(engine => [engine.label, engine]))( 'Add comment to column - %s', testWrapper(async (conn, driver, engine) => {