Merge branch 'sql-syntax-highlighting' into dev

This commit is contained in:
Aaron L 2017-05-15 22:01:13 -07:00
commit 4896aae393

View file

@ -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 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: that you can use in your queries. For example:
``` ```sql
CREATE TYPE workday AS ENUM('monday', 'tuesday', 'wednesday', 'thursday', 'friday'); CREATE TYPE workday AS ENUM('monday', 'tuesday', 'wednesday', 'thursday', 'friday');
CREATE TABLE event_one ( CREATE TABLE event_one (