Commit fbb8ce8a authored by Piotr Gawron's avatar Piotr Gawron
Browse files

changes should also be available in postgres

parent c2f84e51
Pipeline #47215 failed with stage
in 8 minutes and 30 seconds
alter table structural_state_table add column z integer;
update structural_state_table set z = (select z+1 from element_table where structural_state_id=structural_state_table.id);
update structural_state_table set z = 0 where z is null;
alter table structural_state_table alter column z set not null;
alter table modification_residue_table add column z integer;
update modification_residue_table set z = (select z+1 from element_table where element_table.id=modification_residue_table.id_species_db);
update modification_residue_table set z = 0 where z is null;
alter table modification_residue_table alter column z set not null;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment