<commit_before>var Sequelize = require('sequelize');
var Picture = require('./image');

module.exports = setup;

function setup(sequelize) {
	var Tag = sequelize.define('Tag', {
		name: { type: Sequelize.STRING, allowNull: false, primaryKey: true }
	});

	if (typeof Picture === 'function')
		Picture = Picture(sequelize);

	Tag.hasMany(Picture);

	return Tag;
}<commit_msg>undiscustification<commit_after>var Sequelize = require('sequelize');
var Media = require('./media');

module.exports = setup;

function setup(sequelize) {
	var Tag = sequelize.define('Tag', {
		name: { type: Sequelize.STRING, allowNull: false, primaryKey: true }
	});

	if (typeof Media === 'function')
		Media = Media(sequelize);

	Tag.hasMany(Media);

	return Tag;
}
{'fraction_non_alphanumeric': 0.15881561238223418, 'fraction_numerical': 0.0, 'mean_word_length': 5.148760330578512, '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': '3700607', 'n_tokens_mistral': 258, 'n_tokens_neox': 242, 'n_words': 58}