Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the table used for LXCA config patterns #75

Merged
merged 2 commits into from
Oct 9, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class RenameProvisioningManagerIdToManagerIdInCustomizationScripts < ActiveRecord::Migration[5.0]
def change
rename_column :customization_scripts, :provisioning_manager_id, :manager_id
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind splitting this into 2 PR's? See ManageIQ/manageiq#16036 (comment)

end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class AddConfigPatternFieldsToCustomizationScripts < ActiveRecord::Migration[5.0]
def change
add_column :customization_scripts, :description, :string
add_column :customization_scripts, :user_defined, :boolean
add_column :customization_scripts, :in_use, :boolean
end
end
5 changes: 4 additions & 1 deletion db/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1011,11 +1011,14 @@ custom_buttons:
customization_scripts:
- id
- name
- provisioning_manager_id
- manager_id
- manager_ref
- type
- created_at
- updated_at
- description
- user_defined
- in_use
customization_scripts_operating_system_flavors:
- customization_script_id
- operating_system_flavor_id
Expand Down