@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Minor, fix Paste SQL patch for databases with all warnings turned on.

This column has no default value and throws if you have maximum warnings activated:

EXCEPTION: (AphrontQueryException) #1364: Field 'commentVersion' doesn't have a default value...

Auditors: btrahan

+5 -3
+5 -3
resources/sql/patches/20130801.pastexactions.php
··· 21 21 $conn_w, 22 22 'INSERT INTO %T (phid, authorPHID, objectPHID, viewPolicy, editPolicy, 23 23 transactionType, oldValue, newValue, 24 - contentSource, metadata, dateCreated, dateModified) 25 - VALUES (%s, %s, %s, %s, %s, %s, %ns, %ns, %s, %s, %d, %d)', 24 + contentSource, metadata, dateCreated, dateModified, 25 + commentVersion) 26 + VALUES (%s, %s, %s, %s, %s, %s, %ns, %ns, %s, %s, %d, %d, %d)', 26 27 $x_table->getTableName(), 27 28 $xaction_phid, 28 29 $row['authorPHID'], ··· 37 38 array())->serialize(), 38 39 '[]', 39 40 $row['dateCreated'], 40 - $row['dateCreated']); 41 + $row['dateCreated'], 42 + 0); 41 43 42 44 } 43 45