Make ancestor cols not nullable, add fk constraints
Also removed the temporary backfill, now that it is complete. Updates models so cols are not optional.
This commit is contained in:
@@ -10,7 +10,7 @@ pub struct Plugin {
|
||||
pub name: String,
|
||||
pub hash: i64,
|
||||
pub file_id: i32,
|
||||
pub mod_id: Option<i32>,
|
||||
pub mod_id: i32,
|
||||
pub version: f64,
|
||||
pub size: i64,
|
||||
pub author: Option<String>,
|
||||
@@ -27,7 +27,7 @@ pub struct UnsavedPlugin<'a> {
|
||||
pub name: &'a str,
|
||||
pub hash: i64,
|
||||
pub file_id: i32,
|
||||
pub mod_id: Option<i32>,
|
||||
pub mod_id: i32,
|
||||
pub version: f64,
|
||||
pub size: i64,
|
||||
pub author: Option<&'a str>,
|
||||
|
||||
Reference in New Issue
Block a user