Skip to content

Commit

Permalink
fix(models): allow for really long description fields
Browse files Browse the repository at this point in the history
  • Loading branch information
evansiroky committed Jan 11, 2018
1 parent aa86634 commit 9613072
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion models/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = function(sequelize, DataTypes) {
},
route_short_name: DataTypes.STRING(50),
route_long_name: DataTypes.STRING(255),
route_desc: DataTypes.STRING(255),
route_desc: DataTypes.TEXT,
route_type: DataTypes.INTEGER,
route_url: DataTypes.STRING(255),
route_color: DataTypes.STRING(255),
Expand Down
2 changes: 1 addition & 1 deletion models/spatial/stop.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = function(sequelize, DataTypes) {
},
stop_code: DataTypes.STRING(20),
stop_name: DataTypes.STRING(255),
stop_desc: DataTypes.STRING(255),
stop_desc: DataTypes.TEXT,
stop_lat: DataTypes.FLOAT(7),
stop_lon: DataTypes.FLOAT(7),
zone_id: DataTypes.STRING(255),
Expand Down
2 changes: 1 addition & 1 deletion models/stop.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = function(sequelize, DataTypes) {
},
stop_code: DataTypes.STRING(20),
stop_name: DataTypes.STRING(255),
stop_desc: DataTypes.STRING(255),
stop_desc: DataTypes.TEXT,
stop_lat: DataTypes.FLOAT(7),
stop_lon: DataTypes.FLOAT(7),
zone_id: DataTypes.STRING(255),
Expand Down

0 comments on commit 9613072

Please sign in to comment.