drop_views.sql 788 B

123456789101112131415161718192021222324252627282930
  1. --#############################################################################
  2. -- This SQL script drops all existing vies (used by upgrade_temporal_database())
  3. --
  4. -- Author: Martin Landa landa.martin <at> gmail <dot> com
  5. --#############################################################################
  6. -- raster_views
  7. DROP VIEW raster_view_abs_time;
  8. DROP VIEW raster_view_rel_time;
  9. -- raster3d_views
  10. DROP VIEW raster3d_view_abs_time;
  11. DROP VIEW raster3d_view_rel_time;
  12. -- vector_views
  13. DROP VIEW vector_view_abs_time;
  14. DROP VIEW vector_view_rel_time;
  15. -- strds_views
  16. DROP VIEW strds_view_abs_time;
  17. DROP VIEW strds_view_rel_time;
  18. -- str3ds_views
  19. DROP VIEW str3ds_view_abs_time;
  20. DROP VIEW str3ds_view_rel_time;
  21. -- stvds_views
  22. DROP VIEW stvds_view_abs_time;
  23. DROP VIEW stvds_view_rel_time;