diff --git a/.gitignore b/.gitignore index 235f5e7..8e04a62 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ bin/* !bin/.gitkeep *_templ.go *.db +*.db-wal +*.db-shm diff --git a/migration.sql b/migration.sql index 2e53767..433b787 100644 --- a/migration.sql +++ b/migration.sql @@ -1,3 +1,5 @@ +pragma journal_mode = wal; + CREATE TABLE mails ( id integer not null primary key, arrived_at integer not null,