From 11e42970e0053b2e6b31352e34bec7ebbfa9295d Mon Sep 17 00:00:00 2001 From: "alexandre.iwanesko@gmail.com" Date: Mon, 20 Dec 2021 03:44:01 +0100 Subject: [PATCH] ExternalisationConfig branch --- microservice-commandes/pom.xml | 2 +- microservice-produits/src/main/resources/schema.sql | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 microservice-produits/src/main/resources/schema.sql diff --git a/microservice-commandes/pom.xml b/microservice-commandes/pom.xml index 07f3cc5..7a83361 100644 --- a/microservice-commandes/pom.xml +++ b/microservice-commandes/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.RELEASE + 2.6.1 diff --git a/microservice-produits/src/main/resources/schema.sql b/microservice-produits/src/main/resources/schema.sql new file mode 100644 index 0000000..d6f9ef5 --- /dev/null +++ b/microservice-produits/src/main/resources/schema.sql @@ -0,0 +1,8 @@ +CREATE TABLE product +( + id INT PRIMARY KEY, + titre VARCHAR(255) NOT NULL, + description VARCHAR(255) NOT NULL, + image VARCHAR(255) NOT NULL, + prix INT NOT NULL +); \ No newline at end of file