MM-57913 Increase maximum length of Preferences.Value column (#27297)
* MM-57913 Increase maximum length of Preferences.Value column * Add missing column name to migration * Lowercased table and column names
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8181a9ddff
Коммит
5defc75e46
@@ -240,6 +240,8 @@ channels/db/migrations/mysql/000120_create_channelbookmarks_table.down.sql
|
||||
channels/db/migrations/mysql/000120_create_channelbookmarks_table.up.sql
|
||||
channels/db/migrations/mysql/000121_remove_true_up_review_history.down.sql
|
||||
channels/db/migrations/mysql/000121_remove_true_up_review_history.up.sql
|
||||
channels/db/migrations/mysql/000122_preferences_value_length.down.sql
|
||||
channels/db/migrations/mysql/000122_preferences_value_length.up.sql
|
||||
channels/db/migrations/postgres/000001_create_teams.down.sql
|
||||
channels/db/migrations/postgres/000001_create_teams.up.sql
|
||||
channels/db/migrations/postgres/000002_create_team_members.down.sql
|
||||
@@ -480,3 +482,5 @@ channels/db/migrations/postgres/000120_create_channelbookmarks_table.down.sql
|
||||
channels/db/migrations/postgres/000120_create_channelbookmarks_table.up.sql
|
||||
channels/db/migrations/postgres/000121_remove_true_up_review_history.down.sql
|
||||
channels/db/migrations/postgres/000121_remove_true_up_review_history.up.sql
|
||||
channels/db/migrations/postgres/000122_preferences_value_length.down.sql
|
||||
channels/db/migrations/postgres/000122_preferences_value_length.up.sql
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
-- Only applicable to Postgres
|
||||
@@ -0,0 +1 @@
|
||||
-- Only applicable to Postgres
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE Preferences ALTER COLUMN Value TYPE VARCHAR(2000);
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE preferences ALTER COLUMN value TYPE text;
|
||||
Ссылка в новой задаче
Block a user