#include #include #include namespace test_schema { struct TestTable { static constexpr const char* schema = "test"; std::string field1; int32_t field2; sqlgen::PrimaryKey id; std::optional nullable; }; TEST(general, test_schema) { const auto create_table_stmt = sqlgen::transpilation::to_create_table(); EXPECT_EQ(create_table_stmt.table.schema, "test"); } } // namespace test_schema