-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Automated] Merged master into target k8s
- Loading branch information
Showing
8 changed files
with
46 additions
and
306 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
...e/20240410212414_remove_fkeys_from_accredited_organizations_accredited_representatives.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,10 @@ | ||
# frozen_string_literal: true | ||
|
||
class RemoveFkeysFromAccreditedOrganizationsAccreditedRepresentatives < ActiveRecord::Migration[7.1] | ||
def change | ||
remove_foreign_key :accredited_organizations_accredited_representatives, :accredited_representatives, | ||
column: :accredited_representative_id, if_exists: true | ||
remove_foreign_key :accredited_organizations_accredited_representatives, :accredited_organizations, | ||
column: :accredited_organization_id, if_exists: true | ||
end | ||
end |
7 changes: 7 additions & 0 deletions
7
db/migrate/20240410212440_drop_accredited_organizations_accredited_representatives.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,7 @@ | ||
# frozen_string_literal: true | ||
|
||
class DropAccreditedOrganizationsAccreditedRepresentatives < ActiveRecord::Migration[7.1] | ||
def change | ||
drop_table :accredited_organizations_accredited_representatives, if_exists: true # rubocop:disable Rails/ReversibleMigration | ||
end | ||
end |
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,7 @@ | ||
# frozen_string_literal: true | ||
|
||
class DropAccreditedOrganizations < ActiveRecord::Migration[7.1] | ||
def change | ||
drop_table :accredited_organizations, if_exists: true # rubocop:disable Rails/ReversibleMigration | ||
end | ||
end |
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,7 @@ | ||
# frozen_string_literal: true | ||
|
||
class DropAccreditedRepresentatives < ActiveRecord::Migration[7.1] | ||
def change | ||
drop_table :accredited_representatives, if_exists: true # rubocop:disable Rails/ReversibleMigration | ||
end | ||
end |
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,7 @@ | ||
# frozen_string_literal: true | ||
|
||
class DropAccreditedClaimsAgents < ActiveRecord::Migration[7.1] | ||
def change | ||
drop_table :accredited_claims_agents, if_exists: true # rubocop:disable Rails/ReversibleMigration | ||
end | ||
end |
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,7 @@ | ||
# frozen_string_literal: true | ||
|
||
class DropAccreditedAttorneys < ActiveRecord::Migration[7.1] | ||
def change | ||
drop_table :accredited_attorneys, if_exists: true # rubocop:disable Rails/ReversibleMigration | ||
end | ||
end |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.