mirror of
https://github.com/ilyakooo0/reshape.git
synced 2024-11-25 23:13:29 +03:00
Make foreign_keys optionally when creating tables
This commit is contained in:
parent
bf75e00c29
commit
27ec085337
@ -8,6 +8,7 @@ pub struct CreateTable {
|
||||
pub name: String,
|
||||
pub columns: Vec<Column>,
|
||||
pub primary_key: Vec<String>,
|
||||
#[serde(default)]
|
||||
pub foreign_keys: Vec<ForeignKey>,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user