Add type to document
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
3
pkg/coredata/migrations/20250530T170253Z.sql
Normal file
3
pkg/coredata/migrations/20250530T170253Z.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
CREATE TYPE document_type AS ENUM ('OTHER', 'ISMS', 'POLICY');
|
||||
|
||||
ALTER TABLE documents ADD COLUMN document_type document_type NOT NULL DEFAULT 'POLICY';
|
||||
Reference in New Issue
Block a user