CREATE TABLE ce_contact_assignments (
    CONTACT_ASSIGNMENT_ID    NUMBER(18, 0),
    ASSIGNMENT_TYPE          VARCHAR2(60)     NOT NULL,
    RELATIONSHIP_ID          NUMBER(18, 0)    NOT NULL,
    BANK_PARTY_ID            NUMBER(18, 0),
    BRANCH_PARTY_ID          NUMBER(18, 0),
    BANK_ACCOUNT_ID          NUMBER(18, 0),
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CONTACT_ASSIGNMENT_ID    NUMBER(18, 0),
    ASSIGNMENT_TYPE          VARCHAR2(60)     NOT NULL,
    RELATIONSHIP_ID          NUMBER(18, 0)    NOT NULL,
    BANK_PARTY_ID            NUMBER(18, 0),
    BRANCH_PARTY_ID          NUMBER(18, 0),
    BANK_ACCOUNT_ID          NUMBER(18, 0),
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CONSTRAINT pk_ce_contact_assignments PRIMARY KEY (CONTACT_ASSIGNMENT_ID, CONTACT_ASSIGNMENT_ID)
);
