Skip to content

Commit

Permalink
fix test and remove vbms_ext_claim from schema.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
craigrva committed Oct 1, 2024
1 parent c231266 commit b024f43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 41 deletions.
40 changes: 0 additions & 40 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2103,46 +2103,6 @@
t.index ["vbms_communication_package_id"], name: "index_vbms_distributions_on_vbms_communication_package_id"
end

create_table "vbms_ext_claim", primary_key: "CLAIM_ID", id: :decimal, precision: 38, force: :cascade do |t|
t.string "ALLOW_POA_ACCESS", limit: 5
t.decimal "CLAIMANT_PERSON_ID", precision: 38
t.datetime "CLAIM_DATE"
t.string "CLAIM_SOJ", limit: 25
t.integer "CONTENTION_COUNT"
t.datetime "CREATEDDT", null: false
t.string "EP_CODE", limit: 25
t.datetime "ESTABLISHMENT_DATE"
t.datetime "EXPIRATIONDT"
t.string "INTAKE_SITE", limit: 25
t.datetime "LASTUPDATEDT", null: false
t.string "LEVEL_STATUS_CODE", limit: 25
t.datetime "LIFECYCLE_STATUS_CHANGE_DATE"
t.string "LIFECYCLE_STATUS_NAME", limit: 50
t.string "ORGANIZATION_NAME", limit: 100
t.string "ORGANIZATION_SOJ", limit: 25
t.string "PAYEE_CODE", limit: 25
t.string "POA_CODE", limit: 25
t.integer "PREVENT_AUDIT_TRIG", limit: 2, default: 0, null: false
t.string "PRE_DISCHARGE_IND", limit: 5
t.string "PRE_DISCHARGE_TYPE_CODE", limit: 10
t.string "PRIORITY", limit: 10
t.string "PROGRAM_TYPE_CODE", limit: 10
t.string "RATING_SOJ", limit: 25
t.string "SERVICE_TYPE_CODE", limit: 10
t.string "SUBMITTER_APPLICATION_CODE", limit: 25
t.string "SUBMITTER_ROLE_CODE", limit: 25
t.datetime "SUSPENSE_DATE"
t.string "SUSPENSE_REASON_CODE", limit: 25
t.string "SUSPENSE_REASON_COMMENTS", limit: 1000
t.decimal "SYNC_ID", precision: 38, null: false
t.string "TEMPORARY_CLAIM_SOJ", limit: 25
t.string "TYPE_CODE", limit: 25
t.decimal "VERSION", precision: 38, null: false
t.decimal "VETERAN_PERSON_ID", precision: 15
t.index ["CLAIM_ID"], name: "claim_id_index"
t.index ["LEVEL_STATUS_CODE"], name: "level_status_code_index"
end

create_table "vbms_uploaded_documents", force: :cascade do |t|
t.bigint "appeal_id", comment: "Appeal/LegacyAppeal ID; use as FK to appeals/legacy_appeals"
t.string "appeal_type", comment: "'Appeal' or 'LegacyAppeal'"
Expand Down
2 changes: 1 addition & 1 deletion spec/feature/switch_user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
RSpec.feature "Test Users for Demo", :postgres do
before do
# Switch user only works in demo
ENV["DEPLOY_ENV"] = "development"
allow(Rails).to receive(:deploy_env?).and_return(:demo)
BGSService.end_product_records = { default: BGSService.all_grants }

3.times { create(:user) }
Expand Down

0 comments on commit b024f43

Please sign in to comment.