Profile photo problem
Created by: ilu33
INSERT INTO attach ( aid, uid, hash, creator, filename, filetype, filesize, revision, folder, os_storage, is_dir, content, created, edited, os_path, display_path, allow_cid, allow_gid, deny_cid, deny_gid )
VALUES ( 4, 8, 'aef2c...12897c', 'I1d-aefx9...GzciqwA', 'Profile Photos', 'multipart/mixed', 0, 0, '', 1, '1', 'store/name/aef2...12897c', '2016-10-20 00:40:45', '2016-10-20 00:40:45', 'store/name/aef2...12897c', 'store/name/aef2...12897c', '', '', '' ) ; returned false
ERROR: INSERT has more target columns than expressions
LINE 1: ...th, display_path, allow_cid, allow_gid, deny_cid, deny_gid )
^
Patch will follow.
Edit: This was the original error and something went wrong during patching that resulted in the aforementioned one:
INSERT INTO attach ( aid, uid, hash, creator, filename, filetype, filesize, revision, folder, os_storage, is_dir, content, created, edited, os_path, allow_cid, allow_gid, deny_cid, deny_gid )
VALUES ( 6, 15, '73739467...O8PVEb4w', 'Profile Photos', 'multipart/mixed', 0, 0, '', 1, '1', 'store/name/73739467...89176dfb', '2016-10-11 19:07:47', '2016-10-11 19:07:47', 'store/name/73739467...f53e89176dfb', '', '', '', '' ) ; returned false
ERROR: null value in column "display_path" violates not-null constraint
DETAIL: Failing row contains (12, 6, 15, 73739467...f53e89176dfb, jIV1tGeIgiD3...SVNKaIGRe..., Profile Photos, multipart/mixed, 0, 0, , 0, 1, 0, 1, store/name/73739467...6b5ac35..., null, \x73746f72...39633537..., 2016-10-11 19:07:47, 2016-10-11 19:07:47, , , , ).