working well now, creation of the columns
This commit is contained in:
@@ -156,8 +156,8 @@ async fn execute_table_definition(
|
||||
RETURNING id"#,
|
||||
profile.id,
|
||||
&table_name,
|
||||
json!(request.columns.iter().map(|c| c.name.clone()).collect::<Vec<_>>()),
|
||||
json!(request.indexes.iter().map(|i| i.clone()).collect::<Vec<_>>())
|
||||
json!(columns),
|
||||
json!(indexes)
|
||||
)
|
||||
.fetch_one(&mut **tx)
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user