Skip to content

Commit

Permalink
Completa
Browse files Browse the repository at this point in the history
  • Loading branch information
Nombre Usuario committed Nov 13, 2023
1 parent a9376a5 commit 7a164cf
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions db/migrate/20231113091147_completa_para_imprj.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
class CompletaParaImprj < ActiveRecord::Migration[7.0]
def up
execute <<-SQL
INSERT INTO regionpago (id, nombre, fechacreacion, created_at, updated_at) VALUES
(33, 'MAGDALENA', '2023-11-13', '2023-11-13', '2023-11-13');
INSERT INTO regionpago (id, nombre, fechacreacion, created_at, updated_at) VALUES
(34, 'BOYACA', '2023-11-13', '2023-11-13', '2023-11-13');
INSERT INTO regionpago (id, nombre, fechacreacion, created_at, updated_at) VALUES
(35, 'META', '2023-11-13', '2023-11-13', '2023-11-13');
SQL
end
def down
execute <<-SQL
DELETE FROM regionpago WHERE id>=33 AND id<=35;
SQL
end
end

0 comments on commit 7a164cf

Please sign in to comment.