They are not set to false. I'm coming from a slight rails perspective (some experience with it). In rails, migrations are sequential. If you want to add a field to a table, you create a new migration that only does that.
Regarding my question, then, do most people just edit the model (i.e., add a field, change a field's type, and so on)? On Nov 18, 2010, at 14:29 , VP wrote: > 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) -- Lorin Rivers Mosasaur: Killer Technical Marketing <http://www.mosasaur.com> <mailto:lriv...@mosasaur.com> 512/203.3198 (m)