mirror of https://github.com/sipwise/db-schema.git
That way, you can upload multiple firmwares, and ngcp-panel will serve the next or latest one, depending on the currently running one.mprokop/mt4973_sp2-db
parent
68bb3f2e99
commit
cb3132b35e
@ -0,0 +1,7 @@
|
||||
USE provisioning;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
alter table autoprov_profiles drop foreign key fk_profile_firmware_idx;
|
||||
alter table autoprov_profiles drop column firmware_id;
|
||||
alter table autoprov_firmwares add key version_idx(device_id, version);
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
Loading…
Reference in new issue