style colour length to 7 from 6
This commit is contained in:
parent
cfde210a39
commit
a42e353aa4
@ -58,23 +58,19 @@ enum MatchingAlgorithms {
|
|||||||
}
|
}
|
||||||
|
|
||||||
model MessageStyle {
|
model MessageStyle {
|
||||||
id Int @id @default(autoincrement())
|
id Int @id @default(autoincrement())
|
||||||
guild_id String
|
guild_id String
|
||||||
name String
|
name String
|
||||||
|
colour String @db.VarChar(7) // hex colour: #5865F2
|
||||||
show_author Boolean
|
show_author Boolean
|
||||||
show_image Boolean
|
show_image Boolean
|
||||||
show_thumbnail Boolean
|
show_thumbnail Boolean
|
||||||
show_footer Boolean
|
show_footer Boolean
|
||||||
show_timestamp Boolean
|
show_timestamp Boolean
|
||||||
|
title_mutator TextMutator?
|
||||||
colour String @db.VarChar(6)
|
|
||||||
|
|
||||||
title_mutator TextMutator?
|
|
||||||
description_mutator TextMutator?
|
description_mutator TextMutator?
|
||||||
|
created_at DateTime @default(now())
|
||||||
created_at DateTime @default(now())
|
updated_at DateTime @updatedAt
|
||||||
updated_at DateTime @updatedAt
|
|
||||||
|
|
||||||
@@unique([guild_id, name])
|
@@unique([guild_id, name])
|
||||||
@@index([guild_id, created_at(sort: Desc)])
|
@@index([guild_id, created_at(sort: Desc)])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user