Skip to content

Commit

Permalink
Merge pull request #115 from brave/custom-threshold
Browse files Browse the repository at this point in the history
Add custom threshold support for Nebula
  • Loading branch information
DJAndries authored Jun 20, 2024
2 parents db29391 + 1c5da4b commit 3283da2
Show file tree
Hide file tree
Showing 16 changed files with 682 additions and 187 deletions.
1 change: 1 addition & 0 deletions migrations/2024-03-12-043232_custom_threshold/down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE pending_msgs DROP COLUMN threshold;
2 changes: 2 additions & 0 deletions migrations/2024-03-12-043232_custom_threshold/up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE pending_msgs ADD COLUMN threshold SMALLINT NOT NULL DEFAULT 50;
ALTER TABLE pending_msgs ALTER COLUMN threshold DROP DEFAULT;
Loading

0 comments on commit 3283da2

Please sign in to comment.