Skip to content

Commit

Permalink
created migration file alter-field-type-task_split_type
Browse files Browse the repository at this point in the history
  • Loading branch information
sujanadh committed Nov 21, 2023
1 parent d3d8ed5 commit 9fad597
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/backend/migrations/001-alter-field-type-task_split_type.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- ## Migration to alter the field type of task_split_type.


-- ## Apply Migration
-- Start a transaction
BEGIN;

ALTER TABLE projects ALTER COLUMN task_split_type TYPE integer USING task_split_type::integer;
-- Commit the transaction
COMMIT;


0 comments on commit 9fad597

Please sign in to comment.