{"repo":"rust-db/refinery","free":true,"listed":false,"github":"https://github.com/rust-db/refinery","clone":"git clone https://github.com/rust-db/refinery.git","description":"Powerful SQL migration toolkit for Rust.","language":"Rust","stars":1697,"topics":["rust","database-migrations","database-tools","barrel","sql-migration"],"license":"MIT","category":"databases-storage","readme_excerpt":"Powerful SQL migration toolkit for Rust. [![Crates.io][crates-badge]][crates-url] [![docs.rs][docs-badge]][docs-url] [![MIT licensed][mit-badge]][mit-url] [![Build Status][circleci-badge]][circleci-url] [crates-badge]: https://img.shields.io/crates/v/refinery.svg [crates-url]: https://crates.io/crates/refinery [docs-badge]: https://docs.rs/refinery/badge.svg [docs-url]: https://docs.rs/refinery/ [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg [mit-url]: LICENSE [circleci-badge]: https://img.shields.io/circleci/build/github/rust-db/refinery [circleci-url]: https://circleci.com/gh/rust-db/refinery/tree/master Refinery strives to make running migrations for different databases as easy as possible. It works by running your migrations on a provided database connection, either by embedding them on your Rust code, or via the [refinery cli]. Currently postgres , tokio-postgres , mysql , mysql async , rusqlite and tiberius are supported. If you are using a driver that is not yet supported, namely SQLx you can run migrations providing a Config instead of the connection type, as Config impl's Migrate . You will still need to provide the postgres / mysql / rusqlite / tiberius driver as a feature for Runner::run and tokio-postgres / mysql async for Runner::run async . refinery works best with Barrel but you can also have your migrations in .sql files or use any other Rust crate for schema generation. Usage - Add refinery to your Cargo.toml dependencies with the selected dri","default_branch":null,"files":null,"tree":[],"storefront":"/r/rust-db","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rust-db/refinery/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}