Skip to content

Commit

Permalink
Update projects/estore/inventory/migrations/20240319121112.sql
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
noamcattan and github-actions[bot] authored Mar 19, 2024
1 parent b864e38 commit 1ddf02c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions projects/estore/inventory/migrations/20240319121112.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
-- atlas:txtar

-- checks/destructive.sql --
-- atlas:assert DS103
SELECT NOT EXISTS (SELECT 1 FROM `products` WHERE `price` IS NOT NULL) AS `is_empty`;

-- migration.sql --
-- Modify "products" table
ALTER TABLE `products` DROP COLUMN `price`;

0 comments on commit 1ddf02c

Please sign in to comment.