Skip to content

Commit

Permalink
DDL support for POINT types
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Romanko committed Jul 6, 2013
1 parent b1c71e6 commit b78c515
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Drivers/DDL/mysql.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ function buildColumnDefinition(driver, name, prop) {
def = driver.query.escapeId(name) + " ENUM (" +
prop.values.map(driver.query.escapeVal.bind(driver.query)) +
")";
break;
case "point":
def = driver.query.escapeId(name) + " POINT";
break;
default:
throw new Error("Unknown property type: '" + prop.type + "'");
Expand Down

0 comments on commit b78c515

Please sign in to comment.