Correct schema migration instructions for MySQL in 2.12.1 release notes
For MySQL the column type should be 'text', not 'clob'. Change-Id: I22a99c8c92b3218eecb4a203d4106176fcf2a5c8
This commit is contained in:
@@ -21,12 +21,18 @@ When upgrading a site that is already running version 2.12, the `patch_sets`
|
|||||||
table must be manually migrated using the `gerrit gsql` SSH command or the
|
table must be manually migrated using the `gerrit gsql` SSH command or the
|
||||||
`gqsl` site program.
|
`gqsl` site program.
|
||||||
|
|
||||||
For the default H2 database or MySQL, execute the command:
|
For the default H2 database, execute the command:
|
||||||
|
|
||||||
----
|
----
|
||||||
alter table patch_sets modify push_certficate clob;
|
alter table patch_sets modify push_certficate clob;
|
||||||
----
|
----
|
||||||
|
|
||||||
|
For MySQL, execute the command:
|
||||||
|
|
||||||
|
----
|
||||||
|
alter table patch_sets modify push_certficate text;
|
||||||
|
----
|
||||||
|
|
||||||
For PostgreSQL, execute the command:
|
For PostgreSQL, execute the command:
|
||||||
|
|
||||||
----
|
----
|
||||||
|
Reference in New Issue
Block a user