Unless you have migration set to False, these things should be automatic.
On Nov 18, 1:53 pm, Lorin Rivers <lriv...@mosasaur.com> wrote: > My database is PostgreSQL > > I have tables defined in my ../models/db.py > > Now I want to add some fields to one of the tables defined there. The table > has data in it already. > > I tried modifying the original table definition but that didn't actually > change the table's structure. > > Where should I make these changes? I have a model (rounding.py) that creates > a new table in the database defined in db.py. That worked after some > finagling (I think I had to drop the table and have the model recreate it, > but it didn't have data yet). > > So what is the best method for making incremental changes to databases? > > I'm stuck and need some help. > > -- > Lorin Rivers > Mosasaur: Killer Technical Marketing <http://www.mosasaur.com> > <mailto:lriv...@mosasaur.com> > 512/203.3198 (m)