Update ExpansionSet to ScryfallSet

This commit is contained in:
The Magician 2024-12-13 18:10:33 +00:00
parent d107a92b54
commit fd078f09a5
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import (
)
func InsertSet(db *sql.DB, set scryfall.Set) error {
query := `INSERT INTO ExpansionSet (SetCode, Name, CardCount, IconSvgUri) VALUES (?, ?, ?, ?);`
query := `INSERT INTO ScryfallSet (SetCode, Name, CardCount, IconSvgUri) VALUES (?, ?, ?, ?);`
insert, err := db.Prepare(query)
defer insert.Close()