feat: complete day 6

This commit is contained in:
Ayobami
2025-07-14 21:52:29 +01:00
parent 61d9872bab
commit f87c93e85c
9 changed files with 246 additions and 73 deletions
+19
View File
@@ -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;
};