Skip to content

Commit

Permalink
feat: add cafe brew
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelblijleven committed Oct 16, 2023
1 parent 99d65da commit 021db4c
Show file tree
Hide file tree
Showing 30 changed files with 2,608 additions and 126 deletions.
6 changes: 6 additions & 0 deletions drizzle/0010_dazzling_human_robot.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
DROP INDEX `name_index` ON `cafe_brews`;--> statement-breakpoint
ALTER TABLE `cafe_brews` MODIFY COLUMN `type` varchar(128) NOT NULL;--> statement-breakpoint
ALTER TABLE `cafe_brews` ADD `coffee_variety` varchar(128);--> statement-breakpoint
ALTER TABLE `cafe_brews` ADD `coffee_origin` varchar(128);--> statement-breakpoint
CREATE INDEX `name_index` ON `cafe_brews` (`type`);--> statement-breakpoint
ALTER TABLE `cafe_brews` DROP COLUMN `name`;
2 changes: 2 additions & 0 deletions drizzle/0011_mighty_chamber.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE `cafe_brews` ADD `modified` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;--> statement-breakpoint
ALTER TABLE `cafe_brews` ADD `created` timestamp DEFAULT CURRENT_TIMESTAMP;
1 change: 1 addition & 0 deletions drizzle/0012_cooing_kulan_gath.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `cafe_brews` ADD `price` decimal(10,2);
Loading

0 comments on commit 021db4c

Please sign in to comment.