ALTER TABLE tabelas_preco
 ADD COLUMN tabela_base_id BIGINT UNSIGNED NULL AFTER moeda,
 ADD COLUMN percentual_ajuste DECIMAL(9,4) NOT NULL DEFAULT 0 AFTER tabela_base_id,
 ADD COLUMN manter_vinculo BOOLEAN NOT NULL DEFAULT FALSE AFTER percentual_ajuste,
 ADD CONSTRAINT fk_tabelas_preco_base FOREIGN KEY(tabela_base_id) REFERENCES tabelas_preco(id),
 ADD INDEX idx_tabelas_preco_base(tabela_base_id,manter_vinculo);
