USE vn; ALTER TABLE vn.config ADD IF NOT EXISTS mainWarehouseFk SMALLINT(6) UNSIGNED DEFAULT 60 NOT NULL; ALTER TABLE `vn`.`auctionConfig` ADD COLUMN `id` INT NOT NULL FIRST, ADD PRIMARY KEY (`id`);