diff --git a/common/src/main/resources/queries/migrations/postgresql/V3__fix_leftchannels.sql b/common/src/main/resources/queries/migrations/postgresql/V3__fix_leftchannels.sql index 03c3721c..e7c9542d 100644 --- a/common/src/main/resources/queries/migrations/postgresql/V3__fix_leftchannels.sql +++ b/common/src/main/resources/queries/migrations/postgresql/V3__fix_leftchannels.sql @@ -1 +1,3 @@ -ALTER TABLE carbon_leftchannels ALTER COLUMN channel TYPE VARCHAR(256) NOT NULL; +ALTER TABLE carbon_leftchannels + ALTER COLUMN channel TYPE VARCHAR(256), + ALTER COLUMN channel SET NOT NULL;