Allow SetCode to be five characters
This commit is contained in:
parent
85eaa5df0c
commit
34ed8b8751
|
@ -184,7 +184,7 @@ func createGamepieceFormatLegalityTable(db *sql.DB) {
|
|||
func createSetTable(db *sql.DB) {
|
||||
query := `CREATE TABLE IF NOT EXISTS ExpansionSet (
|
||||
Id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
SetCode VARCHAR(4) NOT NULL,
|
||||
SetCode VARCHAR(5) NOT NULL,
|
||||
Name VARCHAR(40) NOT NULL,
|
||||
Digital BOOLEAN NOT NULL,
|
||||
SetType VARCHAR(20) NOT NULL
|
||||
|
|
|
@ -98,7 +98,7 @@ CREATE TABLE IF NOT EXISTS GamepieceFormatLegality (
|
|||
|
||||
CREATE TABLE IF NOT EXISTS ExpansionSet (
|
||||
Id INT AUTO_INCREMENT NOT NULL,
|
||||
SetCode VARCHAR(4) NOT NULL,
|
||||
SetCode VARCHAR(5) NOT NULL,
|
||||
Name VARCHAR(40) NOT NULL,
|
||||
Digital BOOLEAN NOT NULL,
|
||||
SetType VARCHAR(20) NOT NULL
|
||||
|
|
Loading…
Reference in New Issue