Files
windmill/backend/migrations/20240708075901_flow_versioning_nit.up.sql
HugoCasa af3fd09d80 fix(backend): make value of flow_version not null (#4039)
* fix: flow versioning nit: make value of flow version not null

* fix: sqlx

* fix: missing code change

* fix: improve nit migration
2024-07-08 11:56:53 +02:00

3 lines
166 B
SQL

-- Add up migration script here
UPDATE flow_version SET value = '{"modules":[]}'::jsonb WHERE value IS NULL;
ALTER TABLE flow_version ALTER COLUMN value SET NOT NULL;