From 5848af8e52d0ab2995d0565ed12f0e48d74389e7 Mon Sep 17 00:00:00 2001 From: Katharine Ahern Date: Wed, 18 Oct 2023 08:15:14 +0100 Subject: [PATCH] ap-4509: Remove link_type_description column --- db/migrate/20231009145448_create_linked_applications.rb | 3 +-- db/schema.rb | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/db/migrate/20231009145448_create_linked_applications.rb b/db/migrate/20231009145448_create_linked_applications.rb index 7759fffe64..43498507aa 100644 --- a/db/migrate/20231009145448_create_linked_applications.rb +++ b/db/migrate/20231009145448_create_linked_applications.rb @@ -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 diff --git a/db/schema.rb b/db/schema.rb index 3323b80a3a..63b9a9023c 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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