From 2a834d8a8aec191d518cf00151df106b8b5fb1f5 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 4 May 2024 13:37:25 +0200 Subject: [PATCH] Correct form of table name --- README.md | 4 ++-- app/Migrations/create-schema.sql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 375bc08..5f1ac04 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Unsuprisingly, we will need a cookie table. ```sql -CREATE TABLE cookie ( +CREATE TABLE cookies ( cookie_id INT PRIMARY KEY, cookie_name VARCHAR(50) NOT NULL UNIQUE, ); @@ -16,7 +16,7 @@ CREATE TABLE cookie ( Last i checked, a commercial bakery needs customers: ```sql -CREATE TABLE customer ( +CREATE TABLE customers ( customer_id INT PRIMARY KEY, customer_name VARCHAR(50) NOT NULL, customer_address VARCHAR(50) NOT NULL, diff --git a/app/Migrations/create-schema.sql b/app/Migrations/create-schema.sql index b0d633a..d21ad42 100644 --- a/app/Migrations/create-schema.sql +++ b/app/Migrations/create-schema.sql @@ -3,7 +3,7 @@ -------------------------------------------- -- Holds the different types of cookies we can make. -CREATE TABLE cookie ( +CREATE TABLE cookies ( cookie_id INT PRIMARY KEY, cookie_name VARCHAR(50) NOT NULL UNIQUE, );