-- ALTER TABLE statements used to add or remove columns from a table, to modify the data type of columns, to add or remove keys, and to add or remove constraints. The syntax of the ALTER TABLE ...
SQLGlot supports the full CREATE TABLE syntax for temporal tables, but there's some cases missing around the ALTER TABLE syntax to add them after-the-fact. I've included code to create and clean up ...