cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chip Childers <chip.child...@sungard.com>
Subject Re: Modifying the DB schema
Date Mon, 20 May 2013 19:00:19 GMT
On Mon, May 20, 2013 at 12:58:46PM -0600, Mike Tutkowski wrote:
> Just throwing this out there, but maybe in the schema-410to420.sql file?

If you are planning on being feature complete by the feature freeze
window, then that's the one!

> 
> 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
View raw message