Skip to content

Commit

Permalink
80349: Drop pega_tables; Create table for ivc_champva_forms (#16367)
Browse files Browse the repository at this point in the history
  • Loading branch information
balexandr authored Apr 17, 2024
1 parent a6e314d commit 134aef5
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 21 deletions.
5 changes: 5 additions & 0 deletions db/migrate/20240416155611_drop_pega_tables.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class DropPegaTables < ActiveRecord::Migration[7.1]
def change
drop_table :pega_tables, if_exists: true
end
end
18 changes: 18 additions & 0 deletions db/migrate/20240416155705_create_ivc_champva_forms.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class CreateIvcChampvaForms < ActiveRecord::Migration[7.1]
def change
create_table :ivc_champva_forms do |t|
t.string :email
t.string :first_name
t.string :last_name
t.string :form_number
t.string :file_name
t.uuid :form_uuid
t.string :s3_status
t.string :pega_status

t.timestamps
end

add_index :ivc_champva_forms, :email, unique: true
end
end
39 changes: 18 additions & 21 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 134aef5

Please sign in to comment.