sqlitemigration.Schema has a new option for disabling foreign keys for individual migrations. This makes it easier to perform migrations that require reconstructing a table. (#20)
Changed
sqlitemigration.Migrate and *sqlitemigration.Pool no longer use a transaction to apply the entire set of migrations: they now only use transactions during each individual migration. This was never documented, so in theory no one should be depending on this behavior. However, this does mean that two processes trying to open and migrate a database concurrently may race to apply migrations, whereas before only one process would acquire the write lock and migrate.
Fixed
Fixed compile breakage on 32-bit architectures. Thanks to Jan Mercl for the report.
sqlitemigration.Schema has a new option for disabling foreign keys for
individual migrations. This makes it easier to perform migrations that require
reconstructing a table. (#20)
Changed
sqlitemigration.Migrate and *sqlitemigration.Pool no longer use a
transaction to apply the entire set of migrations: they now only use
transactions during each individual migration. This was never documented, so
in theory no one should be depending on this behavior. However, this does mean
that two processes trying to open and migrate a database concurrently may race
to apply migrations, whereas before only one process would acquire the write
lock and migrate.
Fixed
Fixed compile breakage on 32-bit architectures. Thanks to Jan Mercl for the
report.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps zombiezen.com/go/sqlite from 0.6.2 to 0.7.0.
Release notes
Sourced from zombiezen.com/go/sqlite's releases.
Changelog
Sourced from zombiezen.com/go/sqlite's changelog.
Commits
d8107ef
Add 0.7.0 to CHANGELOG997201c
Add option to disable foreign keys during a migrationc9bc6be
Add test for libc memory leaks5a57f24
Run CI with libc.memgrind build tage973815
Use libc.NewVaList where appropriate0c00f43
Only run race detector on amd642feffaf
Fix compile errors on 32-bit systemsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)