diff --git a/db/migrate/20180215164010_add_hostname_to_vm.rb b/db/migrate/20180215164010_add_hostname_to_vm.rb new file mode 100644 index 000000000..0841daab1 --- /dev/null +++ b/db/migrate/20180215164010_add_hostname_to_vm.rb @@ -0,0 +1,5 @@ +class AddHostnameToVm < ActiveRecord::Migration[5.0] + def change + add_column :vms, :hostname, :string + end +end diff --git a/db/migrate/20180319113755_add_product_details_columns_to_asset_details.rb b/db/migrate/20180319113755_add_product_details_columns_to_asset_details.rb new file mode 100644 index 000000000..9cf67e008 --- /dev/null +++ b/db/migrate/20180319113755_add_product_details_columns_to_asset_details.rb @@ -0,0 +1,10 @@ +class AddProductDetailsColumnsToAssetDetails < ActiveRecord::Migration[5.0] + def change + add_column :asset_details, :product_name, :string + add_column :asset_details, :manufacturer, :string + add_column :asset_details, :machine_type, :string + add_column :asset_details, :model, :string + add_column :asset_details, :serial_number, :string + add_column :asset_details, :field_replaceable_unit, :string + end +end