discourse/db/migrate/20121224100650_add_sequence...

8 lines
180 B
Ruby

# frozen_string_literal: true
class AddSequenceToDrafts < ActiveRecord::Migration[4.2]
def change
add_column :drafts, :sequence, :integer, null: false, default: 0
end
end