fixing tests and migration to the serialized deserialized JSONB

This commit is contained in:
Priec
2025-09-17 21:10:11 +02:00
parent 532977056d
commit 095645a209
2 changed files with 6 additions and 15 deletions

View File

@@ -67,10 +67,10 @@ async fn table_definition(#[future] schema: (PgPool, String, i64)) -> (PgPool, S
// Define columns and indexes for the table
let columns = json!([
"\"name\" TEXT",
"\"age\" INTEGER",
"\"email\" TEXT",
"\"is_active\" BOOLEAN"
{ "name": "name", "field_type": "text" },
{ "name": "age", "field_type": "integer" },
{ "name": "email", "field_type": "text" },
{ "name": "is_active", "field_type": "boolean" }
]);
let indexes = json!([]);