-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99d65da
commit 021db4c
Showing
30 changed files
with
2,608 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE `cafe_brews` ADD `price` decimal(10,2); |
Oops, something went wrong.