diff options
| author | Samuel W <samuel.wilhelmsson@gmail.com> | 2025-01-10 16:46:54 +0100 |
|---|---|---|
| committer | Samuel W <samuel.wilhelmsson@gmail.com> | 2025-01-10 16:46:54 +0100 |
| commit | 706021a5e76c64cc18ded0a9d59d40e8421dc8c3 (patch) | |
| tree | 530c10521d088e7f8b6268b45960036cd2285914 /main.go | |
| parent | 191e2ddf095a5e57b33caf4a9235c686a462232c (diff) | |
| download | tinygram-706021a5e76c64cc18ded0a9d59d40e8421dc8c3.tar.gz tinygram-706021a5e76c64cc18ded0a9d59d40e8421dc8c3.zip | |
Update some looks and stuff
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -61,6 +61,7 @@ func main() { e.Use(session.Middleware(sessions.NewCookieStore([]byte(sessionSecret)))) db, err := gorm.Open(sqlite.Open(dbPath), &gorm.Config{}) + db.Exec("PRAGMA journal_mode=WAL; PRAGMA busy_timeout = 5000;") db.AutoMigrate(Post{}) |
