Skip to content

Commit

Permalink
ap-4509: Remove link_type_description column
Browse files Browse the repository at this point in the history
  • Loading branch information
kmahern committed Oct 18, 2023
1 parent 15aed54 commit 5848af8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions db/migrate/20231009145448_create_linked_applications.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ class CreateLinkedApplications < ActiveRecord::Migration[7.0]
def change
create_table :linked_applications, id: :uuid do |t|
t.references :lead_application, type: :uuid, null: false
t.references :associated_application, type: :uuid, null: false
t.string :link_type_description, null: false
t.references :associated_application, type: :uuid, null: false
t.string :link_type_code, null: false

t.timestamps
Expand Down
1 change: 0 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,6 @@
create_table "linked_applications", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
t.uuid "lead_application_id", null: false
t.uuid "associated_application_id", null: false
t.string "link_type_description", null: false
t.string "link_type_code", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
Expand Down

0 comments on commit 5848af8

Please sign in to comment.