{"size": 490, "ext": "js", "max_stars_repo_path": "src/models/matching.model.js", "max_stars_repo_name": "tuandoan2604/mock_assem_place", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/models/matching.model.js", "max_issues_repo_name": "tuandoan2604/mock_assem_place", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/models/matching.model.js", "max_forks_repo_name": "tuandoan2604/mock_assem_place", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.1481481481, "max_line_length": 45, "alphanum_fraction": 0.6306122449}
const { DataTypes } = require('sequelize');
// eslint-disable-next-line import/extensions
const db = require('./index.js');

const Matching = db.define('Matching', {
  id: {
    type: DataTypes.INTEGER,
    primaryKey: true,
    autoIncrement: true,
  },
  ownerId: {
    type: DataTypes.INTEGER,
  },
  tenantId: {
    type: DataTypes.INTEGER,
  },
  like: {
    type: DataTypes.BOOLEAN,
  },
  availableChat: {
    type: DataTypes.BOOLEAN,
  },
});

db.sync();
module.exports = Matching;
