Skip to content

Commit

Permalink
Mejora migracion
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara committed Jun 28, 2022
1 parent 9601caf commit 104960e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/migrate/20150809032138_mundep_sin_deshabilitados.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class MundepSinDeshabilitados < ActiveRecord::Migration[4.2]
def up
execute <<-SQL
DROP INDEX sip_busca_mundep;
DROP MATERIALIZED VIEW sip_mundep;
DROP VIEW sip_mundep_sinorden;
DROP INDEX IF EXISTS sip_busca_mundep;
DROP MATERIALIZED VIEW IF EXISTS sip_mundep;
DROP VIEW IF EXISTS sip_mundep_sinorden;
CREATE VIEW sip_mundep_sinorden AS (
SELECT sip_departamento.id_deplocal*1000 +
Expand Down

0 comments on commit 104960e

Please sign in to comment.