<commit_before>package com.mrpowergamerbr.loritta.tables

import com.mrpowergamerbr.loritta.utils.exposed.array
import org.jetbrains.exposed.dao.LongIdTable
import org.jetbrains.exposed.sql.TextColumnType

object StoredMessages : LongIdTable() {
	val authorId = long("author_id").index()
	val channelId = long("channel_id")
	val content = text("content")
	val createdAt = long("created_at")
	val editedAt = long("edited_at").nullable()
	val storedAttachments = array<String>("stored_attachments", TextColumnType())
	val initializationVector = text("initialization_vector")
}<commit_msg>Add index for the created_at field<commit_after>package com.mrpowergamerbr.loritta.tables

import com.mrpowergamerbr.loritta.utils.exposed.array
import org.jetbrains.exposed.dao.LongIdTable
import org.jetbrains.exposed.sql.TextColumnType

object StoredMessages : LongIdTable() {
	val authorId = long("author_id").index()
	val channelId = long("channel_id")
	val content = text("content")
	val createdAt = long("created_at").index()
	val editedAt = long("edited_at").nullable()
	val storedAttachments = array<String>("stored_attachments", TextColumnType())
	val initializationVector = text("initialization_vector")
}
{'fraction_non_alphanumeric': 0.11906744379683597, 'fraction_numerical': 0.0, 'mean_word_length': 7.289655172413793, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1376993', 'n_tokens_mistral': 378, 'n_tokens_neox': 370, 'n_words': 71}