Fixed unit tests
All checks were successful
/ test (push) Successful in 1m40s

This commit is contained in:
Leon Mika 2024-09-28 09:34:30 +10:00
parent 6d8ba42959
commit 015a331bc3
3 changed files with 8 additions and 2 deletions

7
README.md Normal file
View file

@ -0,0 +1,7 @@
# litemigrate
Small migration library for Sqlite3 databases using [modernc.org sqlite3](https://pkg.go.dev/modernc.org/sqlite)
driver.
This was mainly written for my own purposes. Others are free to look at the code if they want,
but I make no guarantees that it'll work or that it won't blow away your database. Use at your own risk.

1
go.mod
View file

@ -4,7 +4,6 @@ go 1.22.4
require (
github.com/Southclaws/fault v0.8.1
github.com/lmika/blogging-tools v0.0.0-20240630114557-8db2b3aa93e6
github.com/lmika/gopkgs v0.0.0-20240408110817-a02f6fc67d1f
github.com/stretchr/testify v1.9.0
modernc.org/sqlite v1.33.1

View file

@ -3,8 +3,8 @@ package migration_test
import (
"context"
"database/sql"
"github.com/lmika/blogging-tools/providers/db/migration"
"github.com/stretchr/testify/assert"
migration "lmika.dev/pkg/litemigrate"
"os"
"path/filepath"
"testing"