pg-diff icon indicating copy to clipboard operation
pg-diff copied to clipboard

migration option historyTableSchema

Open vukbgit opened this issue 1 year ago • 1 comments

hello, great tool! With version 2.4.1 and PostgreSQL: 9.6+ (15.3) if you set migrationOptions.historyTableSchema to a schema different from 'public':

  • table historyTableSchema.historyTableName is not created into historyTableSchema schema (even if schema exists) but into public schema
  • when you save a patch (-s parameter)
    • if table historyTableSchema.historyTableName exists patch is corretly save into it
    • table public.historyTableName is created (but remains empty because patch is correctly saved into historyTableSchema.historyTableName)

vukbgit avatar Jul 17 '23 11:07 vukbgit