mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 12:34:15 +08:00
12 lines
233 B
Ruby
12 lines
233 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class AlterBookmarksIdsToBigint < ActiveRecord::Migration[7.1]
|
||
|
def up
|
||
|
change_column :bookmarks, :bookmarkable_id, :bigint
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
raise ActiveRecord::IrreversibleMigration
|
||
|
end
|
||
|
end
|