Skip to content

Commit

Permalink
PO-666 Create ERROR_MESSAGES table (#582)
Browse files Browse the repository at this point in the history
* PO-666 Create ERROR_MESSAGES table

* PO-666 Create ERROR_MESSAGES table

* PO-666 Create ERROR_MESSAGES table

---------

Co-authored-by: Cade Faulkner <[email protected]>
  • Loading branch information
ian-readman and CadeFaulkner authored Oct 14, 2024
1 parent 8b84f1d commit 1a73278
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/main/resources/db/migration/V20241010_266__error_messages.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* OPAL Program
*
* MODULE : error_messages.sql
*
* DESCRIPTION : Create the ERROR_MESSAGES table.
*
* VERSION HISTORY:
*
* Date Author Version Nature of Change
* ---------- -------- -------- -------------------------------------
* 10/10/2024 I Readman 1.0 PO-666 Create the ERROR_MESSAGES table
*
**/

CREATE TABLE error_messages
(
error_code varchar(25) not null
,error_message varchar(1000) not null
,CONSTRAINT em_error_code_pk PRIMARY KEY (error_code)
);

COMMENT ON COLUMN error_messages.error_code IS 'Unique ID of the user defined error message';
COMMENT ON COLUMN error_messages.error_message IS 'Descriptive wording of the error message';

0 comments on commit 1a73278

Please sign in to comment.