enable wal mode

This commit is contained in:
Guilherme Rugai Freire 2024-07-10 19:07:24 -03:00
parent fc899da74c
commit e211834d39
No known key found for this signature in database
GPG Key ID: AC1D9B6E48E16AC1
2 changed files with 4 additions and 0 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@ bin/*
!bin/.gitkeep
*_templ.go
*.db
*.db-wal
*.db-shm

View File

@ -1,3 +1,5 @@
pragma journal_mode = wal;
CREATE TABLE mails (
id integer not null primary key,
arrived_at integer not null,