From 71d3cb25c1c3744f973d2ee5c635d24431f888fe Mon Sep 17 00:00:00 2001 From: Boris Odnopozov Date: Wed, 19 Feb 2020 14:55:12 +0200 Subject: [PATCH] Add "thin" and "format" columns to disk Required for: https://github.com/ManageIQ/manageiq-providers-ovirt/pull/453 Related to: https://github.com/ManageIQ/manageiq/pull/19849 Related to: https://github.com/ManageIQ/manageiq-ui-classic/pull/6692 Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1726590 --- db/migrate/20200219125312_add_thin_and_format_to_disk.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/migrate/20200219125312_add_thin_and_format_to_disk.rb diff --git a/db/migrate/20200219125312_add_thin_and_format_to_disk.rb b/db/migrate/20200219125312_add_thin_and_format_to_disk.rb new file mode 100644 index 000000000..52ca9017d --- /dev/null +++ b/db/migrate/20200219125312_add_thin_and_format_to_disk.rb @@ -0,0 +1,6 @@ +class AddThinAndFormatToDisk < ActiveRecord::Migration[5.1] + def change + add_column :disks, :thin, :boolean + add_column :disks, :format, :string + end +end