* feat: flow versioning * fix: sqlx * fix: update schedule test for flow versioning * fix: with_deployment_msg + UI nits * fix: nit * fix: improve down migration * patch: keep latest flow version in flow table for backward compat * fix: app deployments in list view * chore: update ee ref * fix: merge * fix: tests
7 lines
340 B
SQL
7 lines
340 B
SQL
-- Add down migration script here
|
|
DROP INDEX deployment_metadata_flow;
|
|
ALTER TABLE deployment_metadata DROP COLUMN flow_version;
|
|
create index if not exists deployment_metadata_flow on deployment_metadata (workspace_id, path) where script_hash is null and app_version is null;
|
|
|
|
alter table flow drop column versions;
|
|
DROP TABLE flow_version; |