Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Blat committed Jan 18, 2016
1 parent 5460541 commit 5bb5190
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions data/presupuestos_municipales/import.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ def import_in_database
import_year_data(directory, year)
end
end

# Clean tables
db.execute(<<SQL)
-- drop table
SQL
end

private
Expand All @@ -33,6 +28,7 @@ def import_year_data(folder, year)
end
end

# TODO: clean tb_remanente;
db.execute(<<SQL)
update "tb_cuentasEconomica_#{year}" set cdcta = LTRIM(RTRIM(cdcta));
update "tb_cuentasEconomica_#{year}" set nombre = LTRIM(RTRIM(nombre));
Expand Down

0 comments on commit 5bb5190

Please sign in to comment.