Skip to content

Commit

Permalink
Change db string length (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzh8829 authored and koistya committed Jun 9, 2016
1 parent b22b181 commit 19077c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/data/models/User.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const User = Model.define('User', {
},

email: {
type: DataType.STRING(256),
type: DataType.STRING(255),
validate: { isEmail: true },
},

Expand Down
4 changes: 2 additions & 2 deletions src/data/models/UserProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const UserProfile = Model.define('UserProfile', {
},

picture: {
type: DataType.STRING(256),
type: DataType.STRING(255),
},

gender: {
Expand All @@ -25,7 +25,7 @@ const UserProfile = Model.define('UserProfile', {
},

website: {
type: DataType.STRING(256),
type: DataType.STRING(255),
},

});
Expand Down

0 comments on commit 19077c4

Please sign in to comment.