UNPKG

@speakr/speakr-module-services

Version:
33 lines (31 loc) 560 B
module.exports = function(sequelize, DataTypes) { let accounts_carts = sequelize.define('accounts_carts', { id: { type: DataTypes.INTEGER, allowNull: false, primaryKey: true, autoIncrement: true }, account_id: { type: DataTypes.INTEGER, allowNull: true }, cart_id: { type: DataTypes.INTEGER, allowNull: true }, created_at: { type: DataTypes.DATE }, updated_at: { type: DataTypes.DATE }, deleted_at: { type: DataTypes.DATE, allowNull: false }, }, { paranoid: true }); return accounts_carts; };