text: const { Model, DataTypes } = require('sequelize');
  const sequelize = require('../config/connection');
  
  class Bone extends Model {}
  
  Bone.init(
    {
      id: {
        type: DataTypes.INTEGER,
        primaryKey: true,
        autoIncrement: true
      },
      user_id: {
        type: DataTypes.INTEGER,
        allowNull: false,
        references: {
          model: 'user',
          key: 'id'
        }
      },
      dog_id: {
        type: DataTypes.INTEGER,
        allowNull: false,
        references: {
          model: 'dog',
          key: 'id'
        }
      }
    },
    {
      sequelize,
      timestamps: false,
      freezeTableName: true,
      underscored: true,
      modelName: 'bone'
    }
  );
  
  module.exports = Bone;