Skip to content

A platform for community discussion. Free, open, simple.

DEV: Bump web_hook_events_id_seq to bigint (#42485)

David Taylora11cacedb2d8
diff --git a/db/migrate/20260728150000_alter_web_hook_events_id_sequence_to_bigint.rb b/db/migrate/20260728150000_alter_web_hook_events_id_sequence_to_bigint.rb
new file mode 100644
index 00000000000..db6e754e32f
--- /dev/null
+++ b/db/migrate/20260728150000_alter_web_hook_events_id_sequence_to_bigint.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+class AlterWebHookEventsIdSequenceToBigint < ActiveRecord::Migration[8.0]
+ def up
+ execute "ALTER SEQUENCE web_hook_events_id_seq AS bigint"
+ end
+
+ def down
+ raise ActiveRecord::IrreversibleMigration
+ end
+end
diff --git a/db/structure.sql b/db/structure.sql
index c48b755443d..0bf3662102b 100644
--- a/db/structure.sql
+++ b/db/structure.sql
@@ -12472,7 +12472,6 @@ ALTER SEQUENCE public.web_hook_events_daily_aggregates_id_seq OWNED BY public.we
--
CREATE SEQUENCE public.web_hook_events_id_seq
- AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
@@ -23143,6 +23142,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20260729153343'),
('20260728162521'),
('20260728162516'),
+('20260728150000'),
('20260728134532'),
('20260728071552'),
('20260728050038'),