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