Return-Path: Delivered-To: apmail-continuum-dev-archive@www.apache.org Received: (qmail 30842 invoked from network); 19 Sep 2008 17:59:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2008 17:59:11 -0000 Received: (qmail 18130 invoked by uid 500); 19 Sep 2008 17:59:08 -0000 Delivered-To: apmail-continuum-dev-archive@continuum.apache.org Received: (qmail 17959 invoked by uid 500); 19 Sep 2008 17:59:07 -0000 Mailing-List: contact dev-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list dev@continuum.apache.org Received: (qmail 17948 invoked by uid 99); 19 Sep 2008 17:59:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 10:59:07 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ken.liu@gmail.com designates 209.85.198.246 as permitted sender) Received: from [209.85.198.246] (HELO rv-out-0708.google.com) (209.85.198.246) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 17:58:09 +0000 Received: by rv-out-0708.google.com with SMTP id f25so504307rvb.50 for ; Fri, 19 Sep 2008 10:58:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=tiRluGU69kx/xNOE2yqj/VUI7EFg+AJ9YRe9HXL+1Fs=; b=TFkkNEinAcSkdktBg9j+tpV21/c4JHdjV7GhytsTfHSl3065dUf8u7omxQhYdoB08w tDWFWL3mFEiXCvRbebJo1qaOfw90fPpYrorJsZmV0B1Yd1QG2nNaX+/hT6hDw6w5iOaZ FAftBWJTqSTDPnx513fNmAYwpXk3Ggk9nJUkk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=Ascl9+9zSCU58PJjcWwdu0oi4je68BH60efhSeLzzgGUOketQ53ZQLB6WxnDRrzdgx +j501bvtoy96Ge4wG7keRjyfEfRjr9FujPQeWRZrGm48pEW7JhvsppL4H8nJkgfbzz+Y agT4KGcUqcgg4QnjBZcPho722Xa5zKZOrFQXA= Received: by 10.141.23.7 with SMTP id a7mr245794rvj.5.1221847122768; Fri, 19 Sep 2008 10:58:42 -0700 (PDT) Received: by 10.140.135.12 with HTTP; Fri, 19 Sep 2008 10:58:42 -0700 (PDT) Message-ID: <748e286f0809191058s6adfde0dgfd25ea28aa215dd6@mail.gmail.com> Date: Fri, 19 Sep 2008 13:58:42 -0400 From: "Ken Liu" To: dev@continuum.apache.org Subject: Re: svn commit: r695183 - in /continuum/trunk: continuum-api/src/main/java/org/apache/continuum/dao/ continuum-api/src/main/java/org/apache/maven/continuum/ continuum-core/src/main/java/org/apache/maven/continuum/ continuum-model/src/main/mdo/ contin In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_38322_19251381.1221847122709" References: <9948cb690809140940l18ead957u650fdb0946c5eb7@mail.gmail.com> <10c62ca80809141629o5b848b95je500f07e9809f411@mail.gmail.com> <748e286f0809191044i56e56956n471e392c872bbdb5@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_38322_19251381.1221847122709 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes, that's what I was thinking, but I didn't know if there was some automagic database migration. Maybe a minor documentation update would suffice. IMHO, even if some database fields are not mandatory, it is generally bad practice not to migrate databases. You really don't want some people having one schema and other users having a different schema - it just makes for more consistency in deployment and less support issues, especially when dealing with ORM tools. Ken On Fri, Sep 19, 2008 at 1:50 PM, Wendy Smoak wrote: > On Fri, Sep 19, 2008 at 10:44 AM, Ken Liu wrote: > > Out of curiosity, how does Continuum handle the addition of new fields > when > > upgrading from 1.1 to 1.2? > > > > Does Continuum 1.2 automatically update the database schema at startup? I > > didn't see any documentation indicating that there is a migration script > > that needs to be run when upgrading. > > We've been tracking model changes here: > http://cwiki.apache.org/confluence/display/CONTINUUM/Model+Changes > > The 1.2 docs state that no upgrade tool is needed: > > http://people.apache.org/~olamy/staging-sites/continuum-1.2/docs/1.2/installation/upgrade.html > > ...however, I see mention of some new *mandatory* fields on the wiki, > so I'm not certain. :( > > -- > Wendy > ------=_Part_38322_19251381.1221847122709--