Skip to content

Commit 24c99ba

Browse files
committedJan 17, 2024
Update final version
1 parent ab8dda8 commit 24c99ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+567
-509
lines changed
 

‎01-databases/.DS_Store

-2 KB
Binary file not shown.

‎01-databases/db-scripts/02-create-products.sql

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
-- -----------------------------------------------------
22
-- Schema full-stack-ecommerce
33
-- -----------------------------------------------------
4-
DROP SCHEMA IF EXISTS `full-stack-ecommerce`;
4+
DROP SCHEMA IF EXISTS `fleurdb`;
55

6-
CREATE SCHEMA `full-stack-ecommerce`;
7-
USE `full-stack-ecommerce` ;
6+
CREATE SCHEMA `fleurdb`;
7+
USE `fleurdb` ;
88

99
-- -----------------------------------------------------
1010
-- Table `full-stack-ecommerce`.`product_category`
1111
-- -----------------------------------------------------
12-
CREATE TABLE IF NOT EXISTS `full-stack-ecommerce`.`product_category` (
12+
CREATE TABLE IF NOT EXISTS `fleurdb`.`product_category` (
1313
`id` BIGINT(20) NOT NULL AUTO_INCREMENT,
1414
`category_name` VARCHAR(255) NULL DEFAULT NULL,
1515
PRIMARY KEY (`id`))
@@ -19,7 +19,7 @@ AUTO_INCREMENT = 1;
1919
-- -----------------------------------------------------
2020
-- Table `full-stack-ecommerce`.`product`
2121
-- -----------------------------------------------------
22-
CREATE TABLE IF NOT EXISTS `full-stack-ecommerce`.`product` (
22+
CREATE TABLE IF NOT EXISTS `fleurdb`.`product` (
2323
`id` BIGINT(20) NOT NULL AUTO_INCREMENT,
2424
`sku` VARCHAR(255) DEFAULT NULL,
2525
`name` VARCHAR(255) DEFAULT NULL,

0 commit comments

Comments
 (0)
Please sign in to comment.