[Mageia-webteam] Maintdb

Kosmas Chatzimichalis Kosmas at mach7x.com
Tue Mar 15 10:25:31 CET 2011


On 15 March 2011 09:14, Romain d'Alverny <rdalverny at gmail.com> wrote:

> Hi,
>
> On Tue, Mar 15, 2011 at 01:02, Kosmas Chatzimichalis <Kosmas at mach7x.com>
> wrote:
> > Just pulled your changes.
> > Looks nice !
>
> Thanks.
>
> > As it is the beginning of the app, wouldn't be better to recreate the
> tables
> > with only the necessary fields, instead of adding migrations that only
> > remove the fields?
>
> I wondered, yes, because that makes a lot of things to move around,
> although the end result would be about the same (hopefully, I managed
> the spackage=>package renaming withouth breaking too much). Would you
> just recreate the tables or just remake the app from scratch, porting
> only the new portions of code needed?
>

 We won't need to make any changes to the actual application.
 We can put all the changes to the original migration, then remove all the
tables (migrate down the database), and then run the migration again to
create the new tables. So the whole of the application wouldn't need any
change at all.
If you agree I can do that, don't worry about it.

For the spackage renaming, it was there to distinguish it from the compiled
packages and to be one word that sometimes make it easier.
Since we do not need the compiled packages any more, we can simply call that
packages.
So maybe we can also change it to be only packages.
Not a big change again, but we will need to change model,views, controllers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-webteam/attachments/20110315/080538ae/attachment-0001.html>


More information about the Mageia-webteam mailing list