CREATE TABLE ase_app_permission_b (
    PERMISSION_ID            NUMBER            PRIMARY KEY,
    CODE                     VARCHAR2(4000)    NOT NULL,
    RESOURCE_TYPE_NAME       VARCHAR2(4000)    NOT NULL,
    ACTION_DELIMITER         VARCHAR2(80)      NOT NULL,
    ACTION                   VARCHAR2(1020),
    PRIVILEGE_ID             NUMBER            NOT NULL,
    EFFECTIVE_START_DATE     DATE          ,
    EFFECTIVE_END_DATE       DATE          ,
    DATA_SYNC_ID             NUMBER        ,
    APP_ID                   NUMBER        ,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL
);
