From a75ee3956ec9d51de574ba6bb8e92af574cfabdc Mon Sep 17 00:00:00 2001 From: Julien Le Coupanec Date: Sun, 12 Apr 2026 19:25:31 +0200 Subject: [PATCH] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- databases/mysql.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/databases/mysql.sh b/databases/mysql.sh index bdbb9ad..f5b1dd6 100644 --- a/databases/mysql.sh +++ b/databases/mysql.sh @@ -87,7 +87,7 @@ SHOW FULL PROCESSLIST; # Show the last queries executed in MySQL # Altering Table Structure # ***************************************************************************** -ALTER TABLE table_name ADD column_name datatype; # Add a new column to an existing table +ALTER TABLE table_name ADD COLUMN column_name datatype; # Add a new column to an existing table ALTER TABLE table_name MODIFY COLUMN column_name datatype; # Change the data type of a column ALTER TABLE table_name RENAME COLUMN old_name TO new_name; # Rename a column (MySQL 8.0+) ALTER TABLE table_name DROP COLUMN column_name; # Remove a column from a table