<commit_before>'use strict';

const Sequelize = require('sequelize');

const sequelize = require('../../lib/sequelize')('shard');

module.exports = sequelize.define('offer', {
  offer_id: {
    type: Sequelize.INTEGER,
    allowNull: false,
    primaryKey: true,
    autoIncrement: true,
    comment: '节点 Id',
  },
  name: {
    type: Sequelize.STRING,
    allowNull: false,
    comment: '节点名称',
  },
  url: {
    type: Sequelize.STRING,
    allowNull: false,
    comment: '宣传网址',
  },
  sort: {
    type: Sequelize.INTEGER,
    allowNull: false,
    defaultValue: 0,
    comment: '排序',
  },
}, {
  underscored: true,
  freezeTableName: true,
  tableName: 'ss_offer',
});<commit_msg>feat:更新前端代码<commit_after>'use strict';

const Sequelize = require('sequelize');

const sequelize = require('../../lib/sequelize')('shard');

module.exports = sequelize.define('offer', {
  offer_id: {
    type: Sequelize.INTEGER,
    allowNull: false,
    primaryKey: true,
    autoIncrement: true,
    comment: '节点 Id',
  },
  name: {
    type: Sequelize.STRING,
    allowNull: false,
    comment: '节点名称',
  },
  url: {
    type: Sequelize.STRING,
    allowNull: false,
    comment: '宣传网址',
  },
  sort: {
    type: Sequelize.INTEGER,
    allowNull: false,
    defaultValue: 1,
    comment: '排序',
  },
}, {
  underscored: true,
  freezeTableName: true,
  tableName: 'ss_offer',
});
{'fraction_non_alphanumeric': 0.16055718475073313, 'fraction_numerical': 0.001466275659824047, 'mean_word_length': 3.1743119266055047, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2310175', 'n_tokens_mistral': 520, 'n_tokens_neox': 528, 'n_words': 102}