Skip to content

Commit

Permalink
feat: add waitlist model
Browse files Browse the repository at this point in the history
  • Loading branch information
DominusKelvin committed Nov 15, 2024
1 parent 317a843 commit 0b02dd7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions templates/ascent-react/api/models/Waitlist.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* Waitlist.js
*
* @description :: A model definition represents a database table/collection.
* @docs :: https://sailsjs.com/docs/concepts/models-and-orm/models
*/

module.exports = {
attributes: {
email: {
type: 'string',
required: true,
unique: true,
isEmail: true,
maxLength: 200
}
}
}

0 comments on commit 0b02dd7

Please sign in to comment.