Skip to content
← All release notesNewanfra0.13.0

Copy a DuckDB file to MotherDuck as you publish

When your repo reads a local DuckDB file, `anfra publish` offers to copy it to MotherDuck and give your organization a data source on the copy.

anfra Cloud can't read a DuckDB file on your laptop, so models built on one would publish but fail to query. At a terminal, anfra publish now offers to upload the file to your MotherDuck account, through MotherDuck's CLI, and creates a motherduck data source for the organization under the same name. Your models and .anfra/data_sources.yml don't change.

The copy never touches what's already there. It goes to a new database under a free name, the local file is only read, and the organization gets a read-only token. Each step asks first, and nothing is offered without a terminal.

Full changelog (opens in a new tab)