style colour length to 7 from 6

This commit is contained in:
Corban-Lee Jones 2025-05-05 23:02:47 +01:00
parent cfde210a39
commit a42e353aa4

View File

@ -58,23 +58,19 @@ enum MatchingAlgorithms {
}
model MessageStyle {
id Int @id @default(autoincrement())
guild_id String
name String
show_author Boolean
show_image Boolean
show_thumbnail Boolean
show_footer Boolean
show_timestamp Boolean
colour String @db.VarChar(6)
title_mutator TextMutator?
id Int @id @default(autoincrement())
guild_id String
name String
colour String @db.VarChar(7) // hex colour: #5865F2
show_author Boolean
show_image Boolean
show_thumbnail Boolean
show_footer Boolean
show_timestamp Boolean
title_mutator TextMutator?
description_mutator TextMutator?
created_at DateTime @default(now())
updated_at DateTime @updatedAt
created_at DateTime @default(now())
updated_at DateTime @updatedAt
@@unique([guild_id, name])
@@index([guild_id, created_at(sort: Desc)])