constraint fk_id_tratamiento foreign key (id_tratamiento) references tratamiento(id_tratamiento), constraint fk_id_medicamento foreign key (id_medicamento) references medicamento(id_medicamento) ...
CREATE INDEX IF NOT EXISTS idx_refresh_tokens_user_id ON refresh_tokens(user_id); CREATE INDEX IF NOT EXISTS idx_products_customer_id ON products(customer_id); ...