WIP
This commit is contained in:
parent
c15e69a6c4
commit
09791951d9
13 changed files with 250 additions and 128 deletions
|
|
@ -1,20 +0,0 @@
|
|||
// BASE MODELS
|
||||
use fully_pub::fully_pub;
|
||||
|
||||
#[derive(Debug)]
|
||||
#[fully_pub]
|
||||
struct Model {
|
||||
name: String,
|
||||
table_name: String,
|
||||
fields: Vec<Field>
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[fully_pub]
|
||||
struct Field {
|
||||
name: String,
|
||||
rust_type: String,
|
||||
is_nullable: bool,
|
||||
is_unique: bool,
|
||||
is_primary: bool
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue