Displaying 1 result from an estimated 1 matches for "score_card_id".
2006 Mar 20
2
AHHHhhhhh... has_and_belongs_to_many, that is going on?
...null,
constraint fk_cr_reviewer foreign key (reviewer_id) references
reviewer(id),
primary key(id)
);
--
-- Table structure for table `reviewers_score_cards`
--
DROP TABLE IF EXISTS reviewers_score_cards;
CREATE TABLE reviewers_score_cards (
reviewer_id int unsigned not null default 0,
score_card_id int unsigned not null default 0,
constraint fk_rsc_reviewer foreign key (reviewer_id) references
reviewer(id),
constraint fk_rsc_score_card foreign key (score_card_id) references
score_cards(id),
primary key(reviewer_id, score_card_id)
);
--
-- Table structure for table `score_cards`
--
DR...