feat: complete day 6
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
module.exports = (sequelize, DataTypes) => {
|
||||
const customer = sequelize.define("customer", {
|
||||
id: {
|
||||
type: DataTypes.INTEGER,
|
||||
primaryKey: true,
|
||||
autoIncrement: true,
|
||||
},
|
||||
shopify_customer_id: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: false,
|
||||
},
|
||||
shopify_customer_email: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: false,
|
||||
},
|
||||
});
|
||||
|
||||
return customer;
|
||||
};
|
||||
Reference in New Issue
Block a user