File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 6161 tag_name : v${{ needs.semantic-release.outputs.new-release-version }}
6262 files : postgres-meta-*.tar.gz
6363
64- docker :
64+ docker-hub :
6565 name : Release on Docker Hub
6666 needs :
6767 - semantic-release
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ COMMIT;`
176176 default_value,
177177 default_value_format = 'literal' ,
178178 is_identity,
179- identity_generation,
179+ identity_generation = 'BY DEFAULT' ,
180180 is_nullable,
181181 is_unique,
182182 comment,
@@ -295,10 +295,11 @@ $$;
295295 old ! . name
296296 ) } IS ${ literal ( comment ) } ;`
297297
298- // nameSql must be last.
299- // defaultValueSql must be after typeSql.
300- // TODO: Can't set default if column is previously identity even if is_identity: false.
301- // Must do two separate PATCHes (once to drop identity and another to set default).
298+ // TODO: Can't set default if column is previously identity even if
299+ // is_identity: false. Must do two separate PATCHes (once to drop identity
300+ // and another to set default).
301+ // NOTE: nameSql must be last. defaultValueSql must be after typeSql.
302+ // identitySql must be after isNullableSql.
302303 const sql = `
303304BEGIN;
304305 ${ isNullableSql }
You can’t perform that action at this time.
0 commit comments