discourse/db/migrate/20200512064023_change_draft...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
258 B
Ruby
Raw Normal View History

# 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