graphql-engine/server/src-rsr/migrations/43_to_44.sql

5 lines
246 B
MySQL
Raw Normal View History

-- This migration adds versioning to metadata, used for optimistic locking in UIs.
-- TODO: Are there changes required in catalog_versions.txt
ALTER TABLE hdb_catalog.hdb_metadata ADD COLUMN "resource_version" INTEGER NOT NULL DEFAULT 1 UNIQUE;