diff --git a/server/models/migrations/next/migrations.sql b/server/models/migrations/next/migrations.sql index 512dddfd28..bde63893f2 100644 --- a/server/models/migrations/next/migrations.sql +++ b/server/models/migrations/next/migrations.sql @@ -201,6 +201,15 @@ ALTER TABLE invoice_invoicing_fee ADD PRIMARY KEY (invoice_uuid, invoicing_fee_i */ ALTER TABLE `service` ADD COLUMN project_id SMALLINT(5) UNSIGNED NOT NULL; +/* + * @author: mbayopanda + * @date: 2019-06-11 + * @description: + * fix depot path, the id is 20, but we just use name and key + * to be sure we update depot for all databases +*/ +UPDATE unit SET path="/depots" WHERE `name`="Depot Management" AND `key`="DEPOT.TITLE"; + /* * @author: jeremielodi @@ -240,4 +249,4 @@ END$$ DELIMITER ; -- update columns -call UpdatePeriodLabels(); +call UpdatePeriodLabels(); \ No newline at end of file