openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #01320
Re: How are new fields added to the database?
Update the module that contained said changes, if unsure a "base" module
update will re-do and recheck everything (not always the best solution).
2012/10/4 W. Martin Borgert <debacle@xxxxxxxxxx>
> Hi,
>
> this is probably a very basic question:
>
> When I upgrade from one version to another and a model gets a new field,
> how is this field added to the database?
>
> Example: I upgraded from nightly build 6.2dev-20120928-230101-1 to
> 6.2dev-20120930-230101-1. In changeset 4465 between the versions, the
> model 'ir.model.access' got a new boolean field "active", which is not
> in my database.
>
> What do I have to do to migrate the database? (In the Django world,
> there "south", probably because of the migrating swallows...)
>
> Thanks in advance!
>
>
> ______________________________**_________________
> Mailing list: https://launchpad.net/~**openerp-community<https://launchpad.net/~openerp-community>
> Post to : openerp-community@lists.**launchpad.net<openerp-community@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~**openerp-community<https://launchpad.net/~openerp-community>
> More help : https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp>
>
--
Niels Huylebroeck
Lead Architect -- Agaplan
Tel. : +32 (0) 93 95 98 90
Web : http://www.agaplan.eu
Follow ups
References