#deno #parts #attempt #reimplement #sqitch

app quitch

An attempt to reimplement parts of sqitch

3 releases

0.0.4 Mar 13, 2024
0.0.3 Mar 13, 2024
0.0.2 Mar 13, 2024

#110 in Database implementations

MIT/Apache

55KB
1.5K SLoC

TypeScript 731 SLoC // 0.1% comments Rust 638 SLoC // 0.0% comments SQL 32 SLoC

quitch

An attempt to reimplement parts of sqitch

Elymus repens, also known as couch grass or quitch, is a very common species of grass native to most of Europe, Asia, the Arctic biome, and northwest Africa. It has been brought into other mild northern climates for forage or erosion control, but is often considered a weed.

Install

Deno

  1. Install Deno
  2. deno install --allow-read --allow-net https://deno.land/x/quitch@v0.0.4/main.ts
  3. Run export PATH="$HOME/.deno/bin:$PATH" to make available in the current shell
  4. Add export PATH="$HOME/.deno/bin:$PATH" to your ~/.bashrc or ~/.zshrc

Rust

  1. Install Rust
  2. cargo install quitch

Use

# Revert the last change
quitch revert --target mysql://user:pass@localhost:3306/db --plan-file ../some-db/sqitch.plan

Dependencies

~63MB
~1M SLoC