Persist links to a database
This commit is contained in:
parent
17fb0c1856
commit
b157985bf3
10 changed files with 451 additions and 44 deletions
12
src/schema.rs
Normal file
12
src/schema.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// @generated automatically by Diesel CLI.
|
||||
|
||||
diesel::table! {
|
||||
magnets (id) {
|
||||
id -> Nullable<Integer>,
|
||||
title -> Text,
|
||||
submitter -> Text,
|
||||
subreddit -> Text,
|
||||
link -> Text,
|
||||
published_at -> Timestamp,
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue