Update ExpansionSet to ScryfallSet
This commit is contained in:
parent
d107a92b54
commit
fd078f09a5
|
@ -6,7 +6,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func InsertSet(db *sql.DB, set scryfall.Set) error {
|
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)
|
insert, err := db.Prepare(query)
|
||||||
defer insert.Close()
|
defer insert.Close()
|
Loading…
Reference in New Issue