Working on database for messages
This commit is contained in:
14
src/database/schema.rs
Normal file
14
src/database/schema.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
diesel::table! {
|
||||
messages (id) {
|
||||
id -> BigInt,
|
||||
guild_id -> BigInt,
|
||||
channel_id -> BigInt,
|
||||
user_id -> BigInt,
|
||||
created -> BigInt,
|
||||
model -> Text,
|
||||
request -> Text,
|
||||
response -> Text,
|
||||
request_tags -> Array<Text>,
|
||||
response_tags -> Array<Text>,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user