-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2292 from alphagov/increase-size-of-event-logs-tr…
…ailing-message Change trailing_message column from varchar(255) to text
- Loading branch information
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
db/migrate/20230801131609_change_event_logs_trailing_message_column.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,9 @@ | ||
class ChangeEventLogsTrailingMessageColumn < ActiveRecord::Migration[7.0] | ||
def up | ||
change_column :event_logs, :trailing_message, :text | ||
end | ||
|
||
def down | ||
change_column :event_logs, :trailing_message, :string | ||
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
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