Tupl
Tupl copied to clipboard
Define a Table re-encode method
When a column is dropped or changed, the old table rows still exist, bit with the old schema. To free up space, define a new Table method which iterates over all the rows and updates them to match the current schema, returning the number of rows which needed to be updated.