迁移报错

dev_forum
daiao 5 years ago
parent 1675c21c21
commit 5bfd875ffa

@ -1,5 +1,5 @@
class AddTsTimeToOutputs < ActiveRecord::Migration[5.2] class AddTsTimeToOutputs < ActiveRecord::Migration[5.2]
def change def change
#add_column :outputs, :ts_time, :float add_column :outputs, :ts_time, :float
end end
end end

@ -13,7 +13,7 @@ module Educoder
@status = status @status = status
@message = message @message = message
Rails.logger.info("############# #{@status}, #{@message}") Rails.logger.error("############# #{@status}, #{@message}")
end end
def tip_json def tip_json

Loading…
Cancel
Save