adding menu items

This commit is contained in:
Colin McKechney
2023-04-30 16:01:13 -04:00
parent c76a63735a
commit 82b4be1ba1
4 changed files with 58 additions and 1 deletions

View File

@@ -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(_) => {