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

Remove cfme repos from MiqDatabase model #11304

Merged
merged 7 commits into from
Sep 16, 2016
Merged
2 changes: 1 addition & 1 deletion app/models/miq_database.rb
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ class MiqDatabase < ApplicationRecord
encrypt_column :csrf_secret_token
encrypt_column :session_secret_token

validates_presence_of :session_secret_token, :csrf_secret_token, :update_repo_name
validates_presence_of :session_secret_token, :csrf_secret_token

default_values REGISTRATION_DEFAULT_VALUES

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class RemoveUpdateRepoNameFromMiqDatabases < ActiveRecord::Migration[5.0]
def change
remove_column :miq_databases, :update_repo_name, :string
end
end
1 change: 0 additions & 1 deletion db/schema.yml
Original file line number Diff line number Diff line change
@@ -4888,7 +4888,6 @@ miq_databases:
- postgres_update_available
- session_secret_token
- csrf_secret_token
- update_repo_name
- registration_organization_display_name
miq_dialogs:
- id