tests compiled

This commit is contained in:
filipriec
2025-06-21 15:11:27 +02:00
parent 4e29d0084f
commit 714a5f2f1c
5 changed files with 57 additions and 45 deletions

View File

@@ -9,7 +9,7 @@
async fn assert_table_definition_does_not_exist(pool: &PgPool, profile_name: &str, table_name: &str) {
let count: i64 = sqlx::query_scalar!(
"SELECT COUNT(*) FROM table_definitions td
JOIN profiles p ON td.profile_id = p.id
JOIN schemas p ON td.schema_id = p.id
WHERE p.name = $1 AND td.table_name = $2",
profile_name,
table_name