File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ export function formatPrimaryKey(formatColumnsResult: FormatColumnsResult): stri
119119}
120120
121121export function generatePrimaryKey ( formatColumnsResult : FormatColumnsResult ) : string [ ] {
122- const primaryColumn = `id ${ SQLType . INT } ${ SQLKeyword . NOT_NULL } ${ SQLKeyword . PRIMARY_KEY } ${ SQLKeyword . SERIAL } ` ;
122+ const primaryColumn = `id ${ SQLKeyword . SERIAL } ${ SQLKeyword . NOT_NULL } ${ SQLKeyword . PRIMARY_KEY } ` ;
123123
124124 formatColumnsResult . formattedColumns . push ( primaryColumn ) ;
125125
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ export const etlProcesses = {
104104 `${ columns_one_pk [ 0 ] . name } ${ columns_one_pk [ 0 ] . type } ` ,
105105 `${ columns_one_pk [ 1 ] . name } ${ columns_one_pk [ 1 ] . type } ` ,
106106 `${ columns_one_pk [ 2 ] . name } ${ columns_one_pk [ 2 ] . type } ` ,
107- `id ${ SQLType . INT } ${ SQLKeyword . NOT_NULL } ${ SQLKeyword . PRIMARY_KEY } ${ SQLKeyword . SERIAL } `
107+ `id ${ SQLKeyword . SERIAL } ${ SQLKeyword . NOT_NULL } ${ SQLKeyword . PRIMARY_KEY } `
108108 ] ,
109109} ;
110110
You can’t perform that action at this time.
0 commit comments