-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This removes the field (and related fields) from the application form model as they've been replaced by others and are no longer being used anywhere.
- Loading branch information
1 parent
d90f73e
commit 69f5367
Showing
6 changed files
with
49 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
db/migrate/20230919123755_remove_status_from_application_forms.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
class RemoveStatusFromApplicationForms < ActiveRecord::Migration[7.0] | ||
def change | ||
change_table :application_forms, bulk: true do |t| | ||
t.remove :status, type: :string, null: false, default: "draft" | ||
t.remove :overdue_further_information, | ||
type: :boolean, | ||
default: false, | ||
null: false | ||
t.remove :overdue_professional_standing, | ||
type: :boolean, | ||
default: false, | ||
null: false | ||
t.remove :overdue_qualification, | ||
type: :boolean, | ||
default: false, | ||
null: false | ||
t.remove :overdue_reference, type: :boolean, default: false, null: false | ||
t.remove :received_further_information, | ||
type: :boolean, | ||
default: false, | ||
null: false | ||
t.remove :received_professional_standing, | ||
type: :boolean, | ||
default: false, | ||
null: false | ||
t.remove :received_qualification, | ||
type: :boolean, | ||
default: false, | ||
null: false | ||
t.remove :received_reference, type: :boolean, default: false, null: false | ||
t.remove :waiting_on_further_information, | ||
type: :boolean, | ||
default: false, | ||
null: false | ||
t.remove :waiting_on_professional_standing, | ||
type: :boolean, | ||
default: false, | ||
null: false | ||
t.remove :waiting_on_qualification, | ||
type: :boolean, | ||
default: false, | ||
null: false | ||
t.remove :waiting_on_reference, | ||
type: :boolean, | ||
default: false, | ||
null: false | ||
end | ||
end | ||
end |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters