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