Failed to execute `INSERT INTO card_legality (format_id, card_id, legality)
SELECT 34, bq.id, 'Legal'
FROM (
SELECT
`u`.`id` AS `id`, `u`.`layout` AS `layout`,
…
Failed to execute `INSERT INTO card_legality (format_id, card_id, legality)
SELECT 34, bq.id, 'Legal'
FROM (
SELECT
`u`.`id` AS `id`, `u`.`layout` AS `layout`,
…