fixing tests and migration to the serialized deserialized JSONB
This commit is contained in:
@@ -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!([]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user