You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@git.apache.org on 2017/05/10 15:36:40 UTC

[GitHub] GabrielBrascher opened a new pull request #2095: CLOUDSTACK-9914: update Quota plugin to support currency values up to 5 decimal places

GabrielBrascher opened a new pull request #2095: CLOUDSTACK-9914: update Quota plugin to support currency values up to 5 decimal places
URL: https://github.com/apache/cloudstack/pull/2095
 
 
   **Summary:** this commit alters column currency_value from table cloud_usage.quota_tariff to support values up to 5 decimal places. The current implementation allows up to 2 decimal places.
   
   **Issue:** need to use more than 2 decimal places to define resources values in Quota tariff.
   
   **Solution:** modify column currency_value from table cloud_usage.quota_tariff to support values up to 5 decimal places. Values with more than 5 decimal places will be displayed with scientific notation in the user interface.
   
   SQL command: "ALTER TABLE `cloud_usage`.`quota_tariff` MODIFY `currency_value` DECIMAL(15,5) not null"
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services