cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Tutkowski <mike.tutkow...@solidfire.com>
Subject Re: Modifying the DB schema
Date Mon, 20 May 2013 18:58:46 GMT
Just throwing this out there, but maybe in the schema-410to420.sql file?

I'm not sure what our upgrade paths are, though, so maybe this file needs
to get changed and others?


On Mon, May 20, 2013 at 12:55 PM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> Hi,
>
> I've been writing code to enable users to select min, max, and burst IOPS
> for Disk Offerings.
>
> I've gotten to the point where I need to create these new fields in the
> DB, but I'm not sure where we control this logic. My new code would look
> something like this:
>
>
> alter table disk_offering add column min_iops bigint(20) unsigned default 0;
> alter table disk_offering add column max_iops bigint(20) unsigned default 0;
> alter table disk_offering add column burst_iops bigint(20) unsigned default 0;
>
>
> Can someone please point me to the correct place to add this code?
>
> Thanks!
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud<http://solidfire.com/solution/overview/?video=play>
> *™*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message