-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove existing SubGuide belong_to association with GuideCard (#84)
* Remove existing SubGuide association to GuideCard Co-authored-by: Anna Headley <hackartisan@users.noreply.github.com> * rubocop corrections * Documentation for extracting .tiff images from server Co-authored-by: Bess Sadler <bess@users.noreply.github.com> --------- Co-authored-by: Anna Headley <hackartisan@users.noreply.github.com> Co-authored-by: Bess Sadler <bess@users.noreply.github.com>
- Loading branch information
1 parent
7ca0950
commit 01a6daf
Showing
6 changed files
with
14 additions
and
13 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
8 changes: 8 additions & 0 deletions
8
db/migrate/20230602135223_remove_guide_card_from_sub_guide_cards.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,8 @@ | ||
# frozen_string_literal: true | ||
|
||
# db migration for revert of belong_to association with GuideCard | ||
class RemoveGuideCardFromSubGuideCards < ActiveRecord::Migration[7.0] | ||
def change | ||
remove_column :sub_guide_cards, :guide_card_id, :bigint | ||
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