#what type should id be

8 messages · Page 1 of 1 (latest)

somber prairie
#
model Guild {
    id             BigInt  @id
    welcomeChannel BigInt?
    welcomeMessage String?
    leaveChannel   BigInt?
    leaveMessage   String?
}
``` i have this model and the ones with type BigInt are ids of discord guild/channel should those be string or should i keep them as BigInt

im using postgres
#

wait ima tell you because i used to store them ids as well

#

@somber prairie

#

i had them as string

#

aight

#

i dont remember why tho

#

maybe it has letters as well idk

#

i dont remember... worst case scenario you use bigint