Skip to content

Commit b69328b

Browse files
judithrothCopilot
andcommitted
[#71630] Use bigint for ID column in friendly_id_slugs
Suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 391e9ec commit b69328b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/migrate/20260311000000_create_friendly_id_slugs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class CreateFriendlyIdSlugs < ActiveRecord::Migration[8.1]
3232
def change
3333
create_table :friendly_id_slugs do |t|
3434
t.string :slug, null: false
35-
t.integer :sluggable_id, null: false
35+
t.bigint :sluggable_id, null: false
3636
t.string :sluggable_type, limit: 50
3737
t.string :scope
3838
t.datetime :created_at

0 commit comments

Comments
 (0)