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