agregar el campo de error
This commit is contained in:
parent
4e0a1d2329
commit
6930afabc8
1 changed files with 7 additions and 0 deletions
7
db/migrate/20220303170801_add_error_to_sensor.rb
Normal file
7
db/migrate/20220303170801_add_error_to_sensor.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddErrorToSensor < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :sensors, :error, :integer
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue