Skip to content

Commit

Permalink
Version
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara committed Oct 6, 2020
1 parent f6f7076 commit 20a8828
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ GIT

GIT
remote: https://github.com/pasosdeJesus/sivel2_gen.git
revision: 65845db4c0ce6a5a715e38d9c96e97540df10399
revision: cec1b655d6b3379a5001dba60180ae56c1abd161
specs:
sivel2_gen (2.0b12)
sivel2_gen (2.0b13)
devise
jquery-rails
rails
Expand Down
4 changes: 4 additions & 0 deletions scripts/elimina_casos_antes_fecha.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ def ejecuta_sql(sql)
id IN (SELECT id_persona FROM sivel2_gen_victima WHERE
id_caso in (SELECT id FROM sivel2_gen_caso WHERE fecha<='#{fechaini}'));
")
ejecuta_sql("
DELETE FROM sivel2_gen_caso_fotra WHERE
id_caso in (SELECT id FROM sivel2_gen_caso WHERE fecha<='#{fechaini}');
")
ejecuta_sql("
DELETE FROM sivel2_gen_caso WHERE
fecha<='#{fechaini}';
Expand Down

0 comments on commit 20a8828

Please sign in to comment.