You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Somehow I already had that column in my table.
Fixed: alter table powa_statements drop column last_present_ts; alter extension powa update;
I suspect a bug in powa--4.0.1--4.1.0.sql
should use ALTER TABLE public.powa_statements ADD if not exists last_present_ts timestamptz NULL DEFAULT now();
The text was updated successfully, but these errors were encountered:
The last_present_ts column didn't exist in version 4.0.1, so the upgrade script as-is should work. Maybe you added this column manually and modified the purge function manually when working on powa-team/powa-archivist#32?
I don't think that the upgrade script should try to detect direct modification of the tables.
Thank you Julien
Yes, Most likely I added that column manually when working on
powa-team/powa-archivist#32
<powa-team/powa-archivist#32>
adding IF NOT EXISTS just a suggestion, it's up to you.
thank you
Andriy
нд, 13 груд. 2020 о 18:27 Julien Rouhaud <notifications@github.com> пише:
Somehow I already had that column in my table.
Fixed:
alter table powa_statements drop column last_present_ts; alter extension powa update;
I suspect a bug in powa--4.0.1--4.1.0.sql
should use
ALTER TABLE public.powa_statements ADD if not exists last_present_ts timestamptz NULL DEFAULT now();
The text was updated successfully, but these errors were encountered: