mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-23 01:03:23 -05:00
Changed table name from choices to selections. Makes better sense.
This commit is contained in:
parent
1ee42f580a
commit
433ab1a224
@ -204,13 +204,13 @@ CREATE TABLE IF NOT EXISTS options (
|
||||
PRIMARY KEY (option_name_id)
|
||||
);
|
||||
|
||||
-- choices
|
||||
-- stores the volunteer interest choices made by people
|
||||
-- selections
|
||||
-- stores the volunteer interest selections made by people
|
||||
--
|
||||
CREATE TABLE IF NOT EXISTS choices (
|
||||
CREATE TABLE IF NOT EXISTS selections (
|
||||
contact_id int(10) unsigned,
|
||||
choice int(10) unsigned,
|
||||
choice_value int(10) unsigned,
|
||||
selection int(10) unsigned,
|
||||
selection_value int(10) unsigned,
|
||||
FOREIGN KEY (contact_id) REFERENCES contacts (contact_id) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
FOREIGN KEY (choice) REFERENCES options (option_name_id) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
FOREIGN KEY (selection) REFERENCES options (option_name_id) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user