Created
May 30, 2020 17:04
-
-
Save BransonGitomeh/973bb16c38ec3e648e74b6dedae5763c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Waterline = require("waterline"); | |
export default Waterline.Collection.extend({ | |
identity: "innitializations", | |
datastore: "default", | |
primaryKey: "id", | |
attributes: { | |
id: { type: "string", required: true }, | |
phoneNumber: { type: "string", required: true }, | |
project: { type: "string", required: true }, | |
ammount: { type: "string", required: true }, | |
time: { type: "string", required: true }, | |
response: { type: "string", required: true }, | |
isDeleted: { type: "boolean", defaultsTo: false } | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment