Fix: Change secure_json_data column data type to medium text only MYSQL (#102557)

fix: change secure_json_data type to medium text only MYSQL
This commit is contained in:
Syerikjan Kh
2025-03-27 12:59:07 -04:00
committed by GitHub
parent 7aa71aa734
commit 15e7c3c439
@@ -142,4 +142,8 @@ func addDataSourceMigration(mg *Migrator) {
mg.AddMigration("Add api_version column", NewAddColumnMigration(tableV2, &Column{
Name: "api_version", Type: DB_Varchar, Nullable: true, Length: 20,
}))
mg.AddMigration("Update secure_json_data column to MediumText", NewRawSQLMigration("").
Mysql("ALTER TABLE data_source MODIFY COLUMN secure_json_data MEDIUMTEXT;"),
)
}