Last active
July 12, 2016 23:54
-
-
Save wallacyyy/91fc646378179b36f1203da0ee03b20b to your computer and use it in GitHub Desktop.
2016-07-11
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
const Sequelize = require('sequelize') | |
const sequelize = require('./connection').connect() | |
const Invite = sequelize.define('invite', { | |
url: Sequelize.STRING, | |
name: Sequelize.STRING, | |
confirmed: Sequelize.BOOLEAN, | |
email: Sequelize.STRING | |
}) | |
sequelize.sync() | |
module.exports = Invite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment