fp/services/migrations-schema/migrations/00104_add-toy_num-fix.sql

7 lines
139 B
SQL

ALTER TABLE IF EXISTS api.toys
DROP COLUMN IF EXISTS toy_id_num;
ALTER TABLE IF EXISTS api.toys
ADD COLUMN IF NOT EXISTS id_num INT;