1602 / jugglingdb

Multi-database ORM for nodejs: redis, mongodb, mysql, sqlite3, postgresql, arango, in-memory...
http://1602.github.io/jugglingdb/
2.05k stars 241 forks source link

refine schema's type from "Datatype" to DataType #427

Open ghost opened 9 years ago

ghost commented 9 years ago

refine schema's type from "Datatype" to DataType

var schema = {
  username: {type: "String"},
  email: {type: "String" },
  password: {type: "String"},
  role: {type: "String"},
  permissions: {type: "Text"},
  created: {type: "Date"},
  is_admin: {type: "Boolean"}
}

Schema.define('user', schema)
1602 commented 9 years ago

Could you please refine your style using make check command (merge with latest master first)