ALTER TABLE authenticateduser ADD COLUMN createdtime TIMESTAMP NOT NULL DEFAULT '01-01-2000 00:00:00';
ALTER TABLE authenticateduser ADD COLUMN lastlogintime TIMESTAMP DEFAULT NULL;
ALTER TABLE authenticateduser ADD COLUMN lastapiusetime TIMESTAMP DEFAULT NULL;
ALTER TABLE authenticateduser DROP COLUMN modificationtime;
These queries can be executed manually or by running the four lines above via PostgreSQL. The default for "createdtime" doesn't have to be that exact timestamp, but makes it easier to identify authenticateduser rows that existed prior to the update (irrelevant if you plan to drop your db!) If you don't run these queries before executing a new build, you'll probably run into an error along the lines of: