From 54c75f24e148ae2d1c20006a2376e15303b86c79 Mon Sep 17 00:00:00 2001 From: celogeek Date: Thu, 26 May 2022 23:58:51 +0200 Subject: [PATCH] remove session table --- internal/photos/api/db.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/photos/api/db.go b/internal/photos/api/db.go index 996fe7e..9cea3de 100644 --- a/internal/photos/api/db.go +++ b/internal/photos/api/db.go @@ -33,7 +33,6 @@ func (d *DBConfig) DSN() string { func (s *Service) Migrate() { tx := s.DB tx.AutoMigrate(&Account{}) - tx.AutoMigrate(&Session{}) tx.AutoMigrate(&File{}) }