From 7c19074b79c23d074bd10f091d9d72a33ee4ef9d Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Tue, 19 Apr 2016 13:38:46 +0200 Subject: [PATCH] change from text to string --- .../20160419112843_name_and_uri_to_string_on_lxd_host.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20160419112843_name_and_uri_to_string_on_lxd_host.rb diff --git a/db/migrate/20160419112843_name_and_uri_to_string_on_lxd_host.rb b/db/migrate/20160419112843_name_and_uri_to_string_on_lxd_host.rb new file mode 100644 index 0000000..b97f7e7 --- /dev/null +++ b/db/migrate/20160419112843_name_and_uri_to_string_on_lxd_host.rb @@ -0,0 +1,9 @@ +class NameAndUriToStringOnLxdHost < ActiveRecord::Migration + def change + change_table :lxd_hosts do |t| + t.change :name, :string + t.change :uri, :string + end + end +end +# vim: set et ts=2 sw=2: