ALTER TABLE YourTable RENAME TO OldTable; CREATE TABLE YourTable (/* old cols with new requirements */); INSERT INTO YourTable SELECT * FROM OldTable; DROP TABLE OldTable; VACUUM; .q
ALTER TABLE YourTable RENAME TO OldTable; CREATE TABLE YourTable (/* old cols with new requirements */); INSERT INTO YourTable SELECT * FROM OldTable; DROP TABLE OldTable; VACUUM; .q