erikbra / grate

grate - the SQL scripts migration runner
MIT License
209 stars 40 forks source link

Dog-fooding: Use grate to version grate tables #482

Closed erikbra closed 7 months ago

erikbra commented 8 months ago

Dog-fooding: Use grate to version grate tables

Use grate itself to version the grate tables, instead of doing this explicitly in code. This is good for two reasons: 1) We use the best tool out there to version the database ;) 2) It makes (overdue) changes to some of the grate tables (using outdated types, etc) easier

I introduced a set of "meta" grate tables to handle the versioning of the Grate tables themselves. So, in addition to (default names):