This commit is contained in:
parent
6d8ba42959
commit
015a331bc3
7
README.md
Normal file
7
README.md
Normal 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
1
go.mod
|
@ -4,7 +4,6 @@ go 1.22.4
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/Southclaws/fault v0.8.1
|
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/lmika/gopkgs v0.0.0-20240408110817-a02f6fc67d1f
|
||||||
github.com/stretchr/testify v1.9.0
|
github.com/stretchr/testify v1.9.0
|
||||||
modernc.org/sqlite v1.33.1
|
modernc.org/sqlite v1.33.1
|
||||||
|
|
|
@ -3,8 +3,8 @@ package migration_test
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"github.com/lmika/blogging-tools/providers/db/migration"
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
migration "lmika.dev/pkg/litemigrate"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
Loading…
Reference in a new issue