<commit_before>module.exports = {
	up: function (migration, DataTypes, done) {
		migration.createTable(
			'media',
			{
				id: { type: DataTypes.INTEGER, autoIncrement: true, primaryKey: true },
				instagramId: { type: DataTypes.STRING, allowNull: false, unique: true },
				date: { type: DataTypes.DATE, allowNull: true },
				thumbnailUrl: { type: DataTypes.STRING, allowNull: false },
				imageUrl: { type: DataTypes.STRING, allowNull: false },
				createdAt: { type: DataTypes.DATE },
				updatedAt: { type: DataTypes.DATE }
			},
			{ engine: 'InnoDB', charset: 'latin1' }
		);

		migration.createTable(
			'issues',
			{
				id: { type: DataTypes.INTEGER, autoIncrement: true, primaryKey: true },
				name: { type: DataTypes.STRING, allowNull: false, unique: true  },
				description: { type: DataTypes.STRING, allowNull: true },
				date: { type: DataTypes.DATE, allowNull: true },
				createdAt: { type: DataTypes.DATE },
				updatedAt: { type: DataTypes.DATE }
			},
			{ engine: 'InnoDB', charset: 'latin1' }
		);

		migration.createTable(
			'tags',<commit_msg>lol migration<commit_after>module.exports = {
	up: function (migration, DataTypes, done) {
		migration.createTable(
			'media',
			{
				id: { type: DataTypes.INTEGER, autoIncrement: true, primaryKey: true },
				instagramId: { type: DataTypes.STRING, allowNull: false, unique: true },
				date: { type: DataTypes.DATE, allowNull: true },
				thumbnailUrl: { type: DataTypes.STRING, allowNull: false },
				imageUrl: { type: DataTypes.STRING, allowNull: false },
				createdAt: { type: DataTypes.DATE },
				updatedAt: { type: DataTypes.DATE }
			},
			{ engine: 'InnoDB', charset: 'latin1' }
		);

		migration.createTable(
			'issues',
			{
				id: { type: DataTypes.INTEGER, autoIncrement: true, primaryKey: true },
				name: { type: DataTypes.STRING, allowNull: false, unique: true  },
				description: { type: DataTypes.STRING, allowNull: true },
				date: { type: DataTypes.DATE, allowNull: true },
				createdAt: { type: DataTypes.DATE },
				updatedAt: { type: DataTypes.DATE }
			},
			{ engine: 'InnoDB', charset: 'latin1' }
		);

		migration.createTable(
			'issue_tags',
			{
				id: { type: DataTypes.INTEGER, autoIncrement: true, primaryKey: true },
				tag_id: { type: DataTypes.INTEGER, allowNull: false, unique: false  },
				issue_id: { type: DataTypes.INTEGER, allowNull: false, unique: false },
				createdAt: { type: DataTypes.DATE },
				updatedAt: { type: DataTypes.DATE }
			},
			{ engine: 'InnoDB', charset: 'latin1' }
		);

		migration.createTable(
			'tag_media',
			{
				id: { type: DataTypes.INTEGER, autoIncrement: true, primaryKey: true },
				tag_id: { type: DataTypes.INTEGER, allowNull: false, unique: false  },
				media_id: { type: DataTypes.INTEGER, allowNull: false, unique: false },
				createdAt: { type: DataTypes.DATE },
				updatedAt: { type: DataTypes.DATE }
			},
			{ engine: 'InnoDB', charset: 'latin1' }
		);

		migration.createTable(
			'tags',
{'fraction_non_alphanumeric': 0.14617716402829237, 'fraction_numerical': 0.0020208824520040417, 'mean_word_length': 3.5552147239263805, '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': '3736824', 'n_tokens_mistral': 1179, 'n_tokens_neox': 992, 'n_words': 236}