## Issue Fixed All test failures were caused by a missing `rain_midnight` field in the packets table. The PostgreSQL trigger function was referencing this field, but the database schema only had `rain_since_midnight`. ## Solution - **Migration**: Add `rain_midnight` field to packets table as float - **Data Migration**: Copy existing data from `rain_since_midnight` to `rain_midnight` - **Backward Compatibility**: Safe migration that preserves existing data ## Results - ✅ **376 tests, 0 failures** - All tests now passing - ✅ **19 doctests, 4 features, 1 property** - Complete test coverage - ✅ **Integration tests working** - Frontend browser tests functional - ✅ **Database consistency** - Schema matches trigger function expectations ## Test Results ``` 19 doctests, 4 features, 1 property, 376 tests, 0 failures ``` This resolves all database-related test failures while maintaining the working integration test infrastructure. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| gettext | ||
| gleam | ||
| repo | ||
| static | ||