feat: use diesel-cli instead of hand writing tables
after reading the documentation, crazy right? I figured out i was making my life hard, this makes my life easy again
This commit is contained in:
parent
f1d5b4316e
commit
a6d35b0ba2
24 changed files with 323 additions and 206 deletions
|
@ -6,7 +6,7 @@ use log::error;
|
|||
use serde::{Deserialize, Serialize};
|
||||
use uuid::Uuid;
|
||||
|
||||
use crate::{Conn, Data, tables::*};
|
||||
use crate::{Conn, Data, schema::*};
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Selectable)]
|
||||
#[diesel(table_name = channels)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue