-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop
present_at_unpublish
column from attachment data table
Now that we are no longer marking attachments as present at unpublishing as part of unpublishing a document, this database column is no longer needed.
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
db/migrate/20231020151031_drop_present_at_unpublishing_column_from_attachments.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,5 @@ | ||
class DropPresentAtUnpublishingColumnFromAttachments < ActiveRecord::Migration[7.0] | ||
def change | ||
remove_column :attachment_data, :present_at_unpublish, :boolean | ||
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