You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
psfpeqmhf/db/migrate/20200528023145_change_diffi...

6 lines
186 B

class ChangeDifficultyToInteger < ActiveRecord::Migration[5.2]
def change
change_column :exercises, :difficulty, :integer, comment: "试卷难度(来自于随机组卷)"
end
end