Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #285: Too small data type for reject reason #286

Merged
merged 1 commit into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/sql/mysql/create-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ CREATE TABLE es_identity_verification (
process_id VARCHAR(36) NOT NULL,
status VARCHAR(32) NOT NULL,
phase VARCHAR(32) NOT NULL,
reject_reason VARCHAR(256),
reject_reason TEXT,
error_detail VARCHAR(256),
session_info TEXT,
timestamp_created DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
Expand Down Expand Up @@ -99,7 +99,7 @@ CREATE TABLE es_document_verification (
verification_id VARCHAR(36),
photo_id VARCHAR(256),
verification_score INTEGER,
reject_reason VARCHAR(256),
reject_reason TEXT,
error_detail VARCHAR(256),
original_document_id VARCHAR(36),
used_for_verification TINYINT DEFAULT 0,
Expand Down
4 changes: 2 additions & 2 deletions docs/sql/oracle/create-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ CREATE TABLE ES_IDENTITY_VERIFICATION (
PROCESS_ID VARCHAR2(36 CHAR) NOT NULL,
STATUS VARCHAR2(32 CHAR) NOT NULL,
PHASE VARCHAR2(32 CHAR) NOT NULL,
REJECT_REASON VARCHAR2(256 CHAR),
REJECT_REASON CLOB,
ERROR_DETAIL VARCHAR2(256 CHAR),
SESSION_INFO CLOB,
TIMESTAMP_CREATED TIMESTAMP(6) NOT NULL,
Expand Down Expand Up @@ -103,7 +103,7 @@ CREATE TABLE ES_DOCUMENT_VERIFICATION (
VERIFICATION_ID VARCHAR2(36 CHAR),
PHOTO_ID VARCHAR2(256 CHAR),
VERIFICATION_SCORE INTEGER,
REJECT_REASON VARCHAR2(256 CHAR),
REJECT_REASON CLOB,
ERROR_DETAIL VARCHAR2(256 CHAR),
ORIGINAL_DOCUMENT_ID VARCHAR2(36 CHAR),
USED_FOR_VERIFICATION NUMBER(1) DEFAULT 0,
Expand Down
4 changes: 2 additions & 2 deletions docs/sql/postgresql/create-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ CREATE TABLE es_identity_verification (
process_id VARCHAR(36) NOT NULL,
status VARCHAR(32) NOT NULL,
phase VARCHAR(32) NOT NULL,
reject_reason VARCHAR(256),
reject_reason TEXT,
error_detail VARCHAR(256),
session_info TEXT,
timestamp_created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
Expand Down Expand Up @@ -107,7 +107,7 @@ CREATE TABLE es_document_verification (
verification_id VARCHAR(36),
photo_id VARCHAR(256),
verification_score INTEGER,
reject_reason VARCHAR(256),
reject_reason TEXT,
error_detail VARCHAR(256),
original_document_id VARCHAR(36),
used_for_verification BOOLEAN DEFAULT FALSE,
Expand Down