-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added 1.1-1.2 db upgrade notes and removed earlier db scripts
- Loading branch information
Carissa Brittain
committed
Aug 24, 2012
1 parent
ee4b8d4
commit d3332e7
Showing
7 changed files
with
11 additions
and
603 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
General steps to upgrade a functional v1.1 database to v1.2: | ||
|
||
1. Run django's manage.py syncdb command | ||
2. Run three south migration commands: | ||
-- manage.py migrate profiles --fake | ||
-- manage.py migrate treemap --fake | ||
-- manage.py migrate api | ||
3. Create a view for geoserver to only load existing plots: | ||
-- create view present_plot as (select id, geometry from treemap_plot where present=True) | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.