Commit fa7651e2 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 462072: Add FK constraints to the products table - Patch by Nitish Bezzala…

Bug 462072: Add FK constraints to the products table - Patch by Nitish Bezzala <nbezzala@yahoo.com> r/a=mkanat
parent e73a7b4c
......@@ -1188,7 +1188,10 @@ use constant ABSTRACT_SCHEMA => {
PRIMARYKEY => 1},
name => {TYPE => 'varchar(64)', NOTNULL => 1},
classification_id => {TYPE => 'INT2', NOTNULL => 1,
DEFAULT => '1'},
DEFAULT => '1',
REFERENCES => {TABLE => 'classifications',
COLUMN => 'id',
DELETE => 'CASCADE'}},
description => {TYPE => 'MEDIUMTEXT'},
milestoneurl => {TYPE => 'TINYTEXT', NOTNULL => 1,
DEFAULT => "''"},
......
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