Commit 6f7b0bf8 authored by Estéban Ristich's avatar Estéban Ristich
Browse files

Fix Issue #62 Update Index

parent 71735ff8
......@@ -29,7 +29,7 @@ CREATE TABLE IF NOT EXISTS `interventions` (
listing_id INT NOT NULL,
description VARCHAR(255) DEFAULT NULL,
date DATE NOT NULL DEFAULT CURRENT_DATE,
KEY `f_company` (`f_supplier`),
KEY `company_id` (`supplier_id`),
FOREIGN KEY (f_supplier) REFERENCES fournisseurs(id),
FOREIGN KEY (f_listing) REFERENCES listing(id)
) ENGINE=MyISAM AUTO_INCREMENT=700 CHARSET=utf8;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment