     app                 varchar(255),
     form                varchar(255),
     document_id         varchar(255),
-    deleted             character(1),
-    draft               character(1),
+    deleted             character(1) not null,
+    draft               character(1) not null,
     xml                 xml
 );
 

    app                 varchar(255),
    form                varchar(255),
    document_id         varchar(255),
    deleted             character(1),
    draft               character(1),
    file_name           varchar(255),
    file_content        blob(2097152)
);
    last_modified_by    varchar(255),
    app                 varchar(255),
    form                varchar(255),
    deleted             character(1) not null,
    xml                 xml
);

