mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 08:46:19 +08:00
9 lines
258 B
Ruby
9 lines
258 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class ChangeDraftSequenceToBigint < ActiveRecord::Migration[6.0]
|
||
|
def change
|
||
|
change_column :drafts, :sequence, :bigint, default: 0, null: false
|
||
|
change_column :draft_sequences, :sequence, :bigint, null: false
|
||
|
end
|
||
|
end
|