implement atlas for db migration

This commit is contained in:
2026-02-22 15:06:16 -07:00
parent 09804829bd
commit 715c122eb7
4 changed files with 20 additions and 25 deletions
-5
View File
@@ -60,11 +60,6 @@ func main() {
defer database.Close()
databaseService := services.NewDatabaseService(database)
// Setup weather_readings table
if err := databaseService.CreateTable(); err != nil {
log.Fatalf("failed to create table: %v", err)
}
// Create services
weatherService := services.NewWeatherService(config.APIKey)