Skip to content

Commit b78c515

Browse files
author
Brian Romanko
committed
DDL support for POINT types
1 parent b1c71e6 commit b78c515

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Drivers/DDL/mysql.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ function buildColumnDefinition(driver, name, prop) {
172172
def = driver.query.escapeId(name) + " ENUM (" +
173173
prop.values.map(driver.query.escapeVal.bind(driver.query)) +
174174
")";
175+
break;
176+
case "point":
177+
def = driver.query.escapeId(name) + " POINT";
175178
break;
176179
default:
177180
throw new Error("Unknown property type: '" + prop.type + "'");

0 commit comments

Comments
 (0)