diff --git a/src/main/resources/db/migration/V20240815_229__modify_draft_accounts.sql b/src/main/resources/db/migration/V20240815_229__modify_draft_accounts.sql index d8f3c4cd3..774830f45 100644 --- a/src/main/resources/db/migration/V20240815_229__modify_draft_accounts.sql +++ b/src/main/resources/db/migration/V20240815_229__modify_draft_accounts.sql @@ -10,7 +10,7 @@ * * Date Author Version Nature of Change * ---------- -------- -------- ------------------------------------------------------------------------------ -* 15/08/2024 A Dennis 1.0 PO-623 Modified DRAFT_ACCOUNTS table with some new columns and renamed others. +* 16/08/2024 A Dennis 1.0 PO-623 Modified DRAFT_ACCOUNTS table with some new columns and renamed others. * **/ @@ -23,6 +23,7 @@ RENAME COLUMN account_summary_data TO account_snapshot; ALTER TABLE draft_accounts ADD COLUMN account_number varchar(25); +COMMENT ON COLUMN draft_accounts.submitted_by IS 'ID of the user that last submitted this record for checking'; COMMENT ON COLUMN draft_accounts.account_number IS 'The Opal Account Number (2char letter code+account number)'; COMMENT ON COLUMN draft_accounts.account_id IS 'Account ID created on validation'; COMMENT ON COLUMN draft_accounts.created_date IS 'Date this record was first created (the created date is not updated by successive submits, only the submitted by)';