We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b31c5b commit a57401fCopy full SHA for a57401f
internal/storage/storage.go
@@ -50,6 +50,9 @@ func NewStorage(logger *slog.Logger) *Storage {
50
// create tables
51
ctx := context.Background()
52
if _, err := db.ExecContext(ctx, ddl); err != nil {
53
+ // if this fails, we should drop the old file (throwing away buried data, sadly) and retry to create the tables
54
+
55
+ // adjust the schema.sql file by adding a column, to check the behavior. I think there's a NPE or such that we hit
56
check(err)
57
}
58
0 commit comments