Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 4cd6bd2

Browse files
author
Aakash Shah
committed
Update app_events.exit_description to text
For databases that aren't Postgres, the "String" type in Sequel usually maps to a varchar(255). This is problematic for the code pushed in 0c199d4 as it doesn't prevent SQL errors from being raised when the payload exceeds 255 characters. cloudfoundry/capi-release#152 cloudfoundry/capi-release#162 [#168010974] [#170222110] Authored-by: Aakash Shah <ashah@pivotal.io>
1 parent ccf6ae1 commit 4cd6bd2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Sequel.migration do
2+
change do
3+
alter_table(:app_events) do
4+
set_column_type(:exit_description, 'text')
5+
end
6+
end
7+
end

0 commit comments

Comments
 (0)