summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/Dealing-with-SQL-files.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/Dealing-with-SQL-files.md b/docs/Dealing-with-SQL-files.md
index aaeede0..c87a28b 100644
--- a/docs/Dealing-with-SQL-files.md
+++ b/docs/Dealing-with-SQL-files.md
@@ -12,8 +12,8 @@ Also remember to:
- surround any table or field name with `backticks`, and string values with `single quotes`, example:
-```SQL
- UPDATE `table_name` SET `field_I_want_to_change` = 'new string value' WHERE `entry` = 10 ;
+```sql
+UPDATE `table_name` SET `field_I_want_to_change` = 'new string value' WHERE `entry` = 10 ;
```
## Write compact code
@@ -25,9 +25,9 @@ Compact code helps to keep the size of our SQL update files small, so installing
Bad:
```SQL
- INSERT INTO `table_1` VALUES (1000, ...);
- INSERT INTO `table_1` VALUES (2000, ...);
- INSERT INTO `table_1` VALUES (3000, ...);
+INSERT INTO `table_1` VALUES (1000, ...);
+INSERT INTO `table_1` VALUES (2000, ...);
+INSERT INTO `table_1` VALUES (3000, ...);
```