diff --git a/vlib/orm/orm_test.v b/vlib/orm/orm_test.v index 44be15398c..fd5c0584c3 100644 --- a/vlib/orm/orm_test.v +++ b/vlib/orm/orm_test.v @@ -5,10 +5,20 @@ import sqlite struct Module { id int - user_id int - //name string - //url string - //nr_downloads int + name string + nr_downloads int +} + +struct User { + id int + age int + name string + is_customer bool + skipped_string string [skip] +} + +struct Foo { + age int } fn test_orm_sqlite() { @@ -189,20 +199,6 @@ fn test_orm_sqlite() { assert z[0].id == 3 } -struct User { - id int - age int - name string - is_customer bool - skipped_string string [skip] -} - -struct Foo { - age int -} - - - fn test_orm_pg() { /* dbname := os.getenv('VDB_NAME')