This commit is contained in:
@@ -122,6 +122,7 @@ it('adds the requester column to existing databases without inventing historical
|
||||
await import('../../src/lib/server/provisioning/history.js');
|
||||
const id = beginDeployment('legacy', 'restart');
|
||||
db().exec('ALTER TABLE server_deployments DROP COLUMN requested_by');
|
||||
db().pragma('user_version = 0');
|
||||
closeDb();
|
||||
expect(getDeployment(id)?.deployment).toMatchObject({ requested_by: null, triggered_by: 'ui' });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user