mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
fix: update migration test with columns added recently (#22137)
> No issue, fixes broken test # Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Added/updated tests
This commit is contained in:
parent
c4127e0ae9
commit
01e3736b1f
1 changed files with 2 additions and 2 deletions
|
|
@ -13,9 +13,9 @@ func TestUp_20240909145426(t *testing.T) {
|
|||
execNoErr(t, db, `INSERT INTO script_contents (id, md5_checksum, contents) VALUES (1, 'checksum', 'script content')`)
|
||||
swiID := execNoErrLastID(t, db, `
|
||||
INSERT INTO software_installers
|
||||
(filename, version, platform, install_script_content_id, storage_id)
|
||||
(filename, version, platform, install_script_content_id, storage_id, package_ids, uninstall_script_content_id)
|
||||
VALUES
|
||||
(?,?,?,?,?)`, "sw1-installer.pkg", "1.2", "darwin", 1, "storage-id1")
|
||||
(?,?,?,?,?,?,?)`, "sw1-installer.pkg", "1.2", "darwin", 1, "storage-id1", "", 1)
|
||||
|
||||
// Apply current migration.
|
||||
applyNext(t, db)
|
||||
|
|
|
|||
Loading…
Reference in a new issue