crudecomputer / jrny

A lightweight, compiled, zero-dependency PostgreSQL schema revision tool; just add SQL!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement a "flatten" or "archive" command

kevlarr opened this issue · comments

commented

Revisions are great, but there's generally little value in keeping revisions from last year hanging around. It would be nice to have some manner of 'reset'.

Some questions:

  • Should these be tracked in database?

  • Should it at all try to automate a schema dump (eg. mark which schemas are dumped in config file)?

  • Should it just flatten all revisions into a single script?