adding menu items
This commit is contained in:
@@ -156,7 +156,7 @@ fn create_user(username: &str, password: &str, first_name: &str, last_name: &str
|
||||
}
|
||||
};
|
||||
|
||||
let mut new_table = conn.statement("create table week_:netid ( item_id number(5), foreign key (item_id) references menu_item (id))").build()?;
|
||||
let mut new_table = conn.statement("create table :net_id ( item_id number(5), foreign key (item_id) references menu_item (id))").build()?;
|
||||
|
||||
match new_table.execute_named(&[("net_id", &username)]) {
|
||||
Ok(_) => {
|
||||
|
||||
Reference in New Issue
Block a user