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

Update interventions SQL table

parent ade30f36
......@@ -28,7 +28,8 @@ CREATE TABLE IF NOT EXISTS `interventions` (
f_supplier INT NOT NULL,
f_listing INT NOT NULL,
description TINYTEXT DEFAULT NULL,
check_on DATE DEFAULT NULL,
check_on DATE NOT NULL DEFAULT CURRENT_DATE,
KEY `f_company` (`f_supplier`),
FOREIGN KEY (f_supplier) REFERENCES fournisseurs(id),
FOREIGN KEY (f_listing) REFERENCES listing(id)
) ENGINE=MyISAM AUTO_INCREMENT=700 CHARSET=utf8;
\ No newline at end of file
Supports Markdown
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