parent
0608650789
commit
0ba752503e
@ -1,7 +1,7 @@
|
|||||||
class AddExecTimeToEvaluateRecords < ActiveRecord::Migration[5.2]
|
class AddExecTimeToEvaluateRecords < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
remove_columns :evaluate_records, :exec_time if User.first.attributes.include?("exec_time")
|
# remove_columns :evaluate_records, :exec_time if EvaluateRecord.first.attributes.include?("exec_time")
|
||||||
|
#
|
||||||
add_column :evaluate_records, :exec_time, :integer
|
# add_column :evaluate_records, :exec_time, :integer
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in new issue