Skip to content
Snippets Groups Projects
Commit 88ad21c3 authored by piotr.gawron's avatar piotr.gawron
Browse files

db script gets name from old impl

parent d5809d4c
No related branches found
No related tags found
1 merge request!1Issue 37
......@@ -13,6 +13,9 @@ ALTER TABLE alias_table ADD COLUMN fullname character varying(255);
update alias_table set fullname = (select species_table.fullname from species_table where alias_table.idelementdb = species_table.iddb);
alter table species_table drop column fullname;
-- name
update alias_table set name = (select species_table.name from species_table where alias_table.idelementdb = species_table.iddb) where name is null or name ='';
-- notes
ALTER TABLE alias_table ADD COLUMN notes text;
update alias_table set notes = (select species_table.notes from species_table where alias_table.idelementdb = species_table.iddb);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment