style colour length to 7 from 6
This commit is contained in:
parent
cfde210a39
commit
a42e353aa4
@ -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)])
|
||||
|
Loading…
x
Reference in New Issue
Block a user