From 3be7bd5eab21853e0eb04c39022854798596b9e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Dole=C5=BEel?= Date: Thu, 8 Mar 2018 12:00:55 +0100 Subject: [PATCH] Parens around INHERITS clause (#214) --- lib/operations/tables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/operations/tables.js b/lib/operations/tables.js index be1f0960..a7c98f62 100644 --- a/lib/operations/tables.js +++ b/lib/operations/tables.js @@ -195,7 +195,7 @@ export const create = (typeShorthands) => { const createTable = template`CREATE TABLE${temporary ? ' TEMPORARY' : ''}${ifNotExists ? ' IF NOT EXISTS' : ''} "${tableName}" ( ${formatLines(tableDefinition, ' ')} -)${inherits ? template` INHERITS "${inherits}"` : ''};`; +)${inherits ? template` INHERITS ("${inherits}")` : ''};`; const comments = columnComments; if (typeof tableComment !== 'undefined') { comments.push(comment('TABLE ', tableName, tableComment));