Skip to content

Commit

Permalink
Added 1.1-1.2 db upgrade notes and removed earlier db scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Carissa Brittain committed Aug 24, 2012
1 parent ee4b8d4 commit d3332e7
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 603 deletions.
460 changes: 0 additions & 460 deletions scripts/db/1.0_1.1.sql

This file was deleted.

18 changes: 0 additions & 18 deletions scripts/db/1.0_to_1.1_upgrade.README

This file was deleted.

11 changes: 0 additions & 11 deletions scripts/db/1.1_plot_updates.sql

This file was deleted.

15 changes: 0 additions & 15 deletions scripts/db/1.1_species_updates.sql

This file was deleted.

11 changes: 11 additions & 0 deletions scripts/db/1.1_to_1.2_upgrade.README
@@ -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)


76 changes: 0 additions & 76 deletions scripts/db/1.1_tree_search_view.sql

This file was deleted.

23 changes: 0 additions & 23 deletions scripts/db/resave_plot_neighborhoods.py

This file was deleted.

0 comments on commit d3332e7

Please sign in to comment.