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: sqliteai/sqlite-sync
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: sqliteai/sqlite-sync
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: migration_v2
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 31 files changed
  • 2 contributors

Commits on Apr 28, 2026

  1. Add schema migration support

    Add schema migration generation, application, upload, download, and check support
    for SQLite and PostgreSQL. Introduce the cloudsync_alter_* API, pending migration
    tracking, raw SQL migration operations, createTable payload support, and
    block-level LWW/augment migration commands.
    
    Update libcurl and Apple native network layers, add SQLite/PostgreSQL/cross-engine
    tests, refresh examples and documentation, and remove the old begin/commit alter API.
    marcobambini committed Apr 28, 2026
    Configuration menu
    Copy the full SHA
    034b324 View commit details
    Browse the repository at this point in the history
  2. test: cover schema migration replay regressions

    Add focused migration unit coverage for dialect override behavior, generated migration JSON replay across simulated devices, and row payload retry after applying the missing migration.
    
    Fix the dialect override builder so SQLite/PostgreSQL overrides no longer mutate the portable nullable flag and replacing an override clears stale defaultSql state before preview/apply.
    
    Allow PostgreSQL declarative alters to accept non-text default arguments through an anyelement overload and stringify defaults before passing them to the shared migration builder.
    
    Validate with SQLite migration tests and PostgreSQL schema migration coverage, including non-text defaults for integer, boolean, and json columns.
    andinux committed Apr 28, 2026
    Configuration menu
    Copy the full SHA
    2284480 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2026

  1. Configuration menu
    Copy the full SHA
    46339f7 View commit details
    Browse the repository at this point in the history
Loading