Skip to content
Snippets Groups Projects
Commit fd4c1288 authored by felmer's avatar felmer
Browse files

LMS-2735 bug in migration script fixed

SVN: 24134
parent fb396758
No related branches found
No related tags found
No related merge requests found
alter table image_zoom_levels add column ds text not null; alter table image_zoom_levels add column ds text;
update image_zoom_levels set ds = physical_dataset_perm_id; update image_zoom_levels set ds = physical_dataset_perm_id;
alter table image_zoom_levels alter column ds set not null;
alter table image_zoom_levels drop column physical_dataset_perm_id; alter table image_zoom_levels drop column physical_dataset_perm_id;
alter table image_zoom_levels rename ds to physical_dataset_perm_id; alter table image_zoom_levels rename ds to physical_dataset_perm_id;
create index image_zoom_levels_phys_ds_idx on image_zoom_levels (physical_dataset_perm_id); create index image_zoom_levels_phys_ds_idx on image_zoom_levels (physical_dataset_perm_id);
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