Skip to content

Commit

Permalink
Parens around INHERITS clause (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
dolezel authored Mar 8, 2018
1 parent a49b47e commit 3be7bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/operations/tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 3be7bd5

Please sign in to comment.