From 9700787bf981c16ade3c82e0afe33d5ebeddb8a5 Mon Sep 17 00:00:00 2001 From: Alex Macleod Date: Fri, 12 May 2017 13:54:10 +0100 Subject: [PATCH] Highlight Enum SQL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 194fdd8..d253fc5 100644 --- a/README.md +++ b/README.md @@ -1191,7 +1191,7 @@ exists, err := models.Pilots(db, Where("id=?", 5)).Exists() If your MySQL or Postgres tables use enums we will generate constants that hold their values that you can use in your queries. For example: -``` +```sql CREATE TYPE workday AS ENUM('monday', 'tuesday', 'wednesday', 'thursday', 'friday'); CREATE TABLE event_one (