migrate.cr icon indicating copy to clipboard operation
migrate.cr copied to clipboard

A database migration solution 🚜

Results 6 migrate.cr issues
Sort by recently updated
recently updated
newest added

- [ ] More details about SQL files - [x] Migrate from micrate guide - [ ] Ready-to-paste `Cakefile` and `sam.cr`

enhancement

I'm not sure if it's as easy as simply updating the `shards.yml` file: ```yaml dependencies: db: github: crystal-lang/crystal-db version: ~> 0.7.0 ``` **See also**: [Error resolving db (~> 0.7.0, ~>...

help wanted

- [ ] MySQL - [ ] Sqlite

enhancement
help wanted

- [ ] `redo` should re-do the latest migration with optional `step` argument - [ ] `reset` should re-do *all* migrations - [ ] `drop` should migrate to zero (alternatives:...

enhancement
breaking

For example, there could be a NoSQL database which accepts Lua calls as migrations (e.g. [Tarantool](https://github.com/vladfaust/tarantool-crystal)), a custom Migrator should be implemented then. Should move existing to `Migrate::SQL::Migrator` then?

enhancement
rfc
breaking

This could be used in baked file systems.

enhancement