2 Commits

Author SHA1 Message Date
Colin Henry
46e6c1272d Update README.md 2022-04-13 08:16:46 -07:00
Colin Henry
87ae7265f4 Update README.md
fixed typo
2021-09-12 15:51:43 -07:00

View File

@@ -1,6 +1,6 @@
# migrate
`migrate` is a package for SQL datbase migrations in the spirit of dbstore(rsc.io/dbstore) it is intended to keep its footprint small, requiring only an additional table in the database there is no rollback support as you should only ever roll forward. Sqlite3 support is provided, support for other datbases can be added by implementing the `Dialect` interface
`migrate` is a package for SQL datbase migrations in the spirit of [dbstore](rsc.io/dbstore). It is intended to keep its footprint small, requiring only an additional table in the database there is no rollback support as you should only ever roll forward. sqlite3 support is provided, support for other datbases can be added by implementing the `Dialect` interface
## Installation
@@ -36,7 +36,7 @@ records :=
},
}
err = migrate.Apply(db, migtate.Sqlite3(), records)
err = migrate.Apply(db, migrate.Sqlite3(), records)
...
```
@@ -49,4 +49,4 @@ Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)
courtesey of https://www.makeareadme.com
courtesey of https://www.makeareadme.com