From 015a331bc323b6bd5b0ee093d7f1b759efb713e8 Mon Sep 17 00:00:00 2001 From: Leon Mika Date: Sat, 28 Sep 2024 09:34:30 +1000 Subject: [PATCH] Fixed unit tests --- README.md | 7 +++++++ go.mod | 1 - migration_test.go | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..8efcb67 --- /dev/null +++ b/README.md @@ -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. diff --git a/go.mod b/go.mod index 38a2c1c..f669222 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/migration_test.go b/migration_test.go index 98db1bf..2aac5af 100644 --- a/migration_test.go +++ b/migration_test.go @@ -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"