el id de los arduinos puede ser una string
This commit is contained in:
parent
89d1299930
commit
eb01449dff
1 changed files with 7 additions and 0 deletions
7
db/migrate/20220303170429_change_local_id_to_string.rb
Normal file
7
db/migrate/20220303170429_change_local_id_to_string.rb
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
class ChangeLocalIdToString < ActiveRecord::Migration[6.1]
|
||||||
|
def change
|
||||||
|
change_column :arduinos, :local_id, :string
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue