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:
Jahziel Villasana-Espinoza 2024-09-16 17:47:00 -04:00 committed by GitHub
parent c4127e0ae9
commit 01e3736b1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)