From eb01449dff993961d30c127bf9770406c8ab55d4 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 3 Mar 2022 14:12:10 -0300 Subject: [PATCH] el id de los arduinos puede ser una string --- db/migrate/20220303170429_change_local_id_to_string.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 db/migrate/20220303170429_change_local_id_to_string.rb diff --git a/db/migrate/20220303170429_change_local_id_to_string.rb b/db/migrate/20220303170429_change_local_id_to_string.rb new file mode 100644 index 0000000..d6f6c99 --- /dev/null +++ b/db/migrate/20220303170429_change_local_id_to_string.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class ChangeLocalIdToString < ActiveRecord::Migration[6.1] + def change + change_column :arduinos, :local_id, :string + end +end