Skip to content

Commit

Permalink
added versioned migration for new category in expense table
Browse files Browse the repository at this point in the history
  • Loading branch information
pradipmudi committed Jun 23, 2024
1 parent a5d1eb6 commit 8bf55f3
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ALTER TABLE `expenses` MODIFY `category` ENUM(
'GROCERIES',
'VEGETABLES_FRUITS_DAIRY_AND_MEAT',
'MEDICAL',
'OUTSIDE_FOOD',
'LOSE_OF_MONEY',
'SALON_AND_COSMETICS',
'TRANSPORT',
'SHOPPING',
'ENTERTAINMENT',
'RENT_AND_OTHER_BILLS',
'OTHERS',
'INVESTMENTS'
) NOT NULL;

0 comments on commit 8bf55f3

Please sign in to comment.