Skip to content

Commit

Permalink
Add merge hash
Browse files Browse the repository at this point in the history
  • Loading branch information
it-spiderman committed May 15, 2024
1 parent bb96414 commit 31b6d7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions includes/Hook/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,10 @@ public function onLoadExtensionSchemaUpdates( $updater ) {
);

// TODO: Register patches
$updater->addExtensionField(
'revision_verification',
'merge_hash',
"$base/sql/migrations/0015_add_merge_hash.sql",
);
}
}
2 changes: 2 additions & 0 deletions sql/migrations/0015_add_merge_hash.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE revision_verification
ADD COLUMN merge_hash VARCHAR(128) AFTER verification_hash;

0 comments on commit 31b6d7c

Please sign in to comment.