Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: amacneil/dbmate
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.21.0
Choose a base ref
...
head repository: amacneil/dbmate
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.22.0
Choose a head ref
  • 7 commits
  • 12 files changed
  • 4 contributors

Commits on Oct 14, 2024

  1. Enable FTS5 in SQLite migrations (#582)

    This statically compiles in the FTS5 module, allowing dbmate to handle
    migrations that use the full-text search features of SQLite.
    
    ## History
    
    Issue #237 raised the question of handling migrations that included FTS5
    tables. It was later converted to a discussion (#357).
    
    ## Solution
    
    It is possible to enable the feature in the statically-compiled SQLite
    that ships with dbmate via a feature flag. Adding the `sqlite_fts5` flag
    to the `Makefile` embeds this feature statically.
    
    ## Testing
    
    An additional test was added with a `CREATE VIRTUAL TABLE` statement
    that leverages the FTS5 module. This test fails when dbmate is compiled
    _without_ the feature flag. After adding the flag, this test passes.
    
    `make test` and `make docker-all` pass.
    
    Confirmed that it works in practice locally on Ubuntu 22.04.  
    
    ## Additional info
    
    For information about the extension:
    https://www.sqlite.org/fts5.html
    
    For the feature flag for mattn/go-sqlite3:
    
    https://github.com/mattn/go-sqlite3/?tab=readme-ov-file#feature--extension-list
    jadudm authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    5b1bbeb View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Update README.md

    Remove outdated postgres comment.
    
    Closes #585
    amacneil authored Nov 1, 2024
    Configuration menu
    Copy the full SHA
    a2e823c View commit details
    Browse the repository at this point in the history
  2. Bump golang from 1.23.1 to 1.23.2 (#583)

    Bumps golang from 1.23.1 to 1.23.2.
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang&package-manager=docker&previous-version=1.23.1&new-version=1.23.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    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-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    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 show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@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)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 1, 2024
    Configuration menu
    Copy the full SHA
    7c3541f View commit details
    Browse the repository at this point in the history
  3. Remove dollar sign from README.md commands (#584)

    currently when copying code snippets one has to manually remove the
    dollar sign first. Consider:
    
    ```sh
    $ echo "this can't be copy pasted into terminal because of the initial $"
    ```
    `bash: $: command not found`
    `fish: Expected a variable name after this $.`
    vs.
    
    ```sh
    echo "this is fine"
    ```
    
    ---------
    
    Co-authored-by: Adrian Macneil <adrian@foxglove.dev>
    o-az and amacneil authored Nov 1, 2024
    Configuration menu
    Copy the full SHA
    c092d1a View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2024

  1. Fix typo in Makefile

    amacneil committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    2c64d41 View commit details
    Browse the repository at this point in the history
  2. Upgrade to eslint v9 (#588)

    Who knew lint could be so complicated
    amacneil authored Nov 2, 2024
    Configuration menu
    Copy the full SHA
    c6e23f9 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2024

  1. v2.22.0 (#590)

    - Bump version
    - Update dependencies
    amacneil authored Nov 9, 2024
    Configuration menu
    Copy the full SHA
    e6feec8 View commit details
    Browse the repository at this point in the history
Loading