CREATE TABLE tx_vhc_image (
id INT AUTO_INCREMENT NOT NULL,
vhc_id INT DEFAULT NULL,
img_type SMALLINT DEFAULT NULL,
img_url VARCHAR(255) DEFAULT NULL,
INDEX IDX_94490CDE7568373C (vhc_id),
PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;

ALTER TABLE tx_vhc_image
ADD CONSTRAINT FK_94490CDE7568373C FOREIGN KEY (vhc_id) REFERENCES tx_vehicule (id);
