Created a new table 'options' to store interest inventory values

also ..
1). zip to Zip Code .. some day will need to make international
2) changed Fill-in Form to "Check them out!" for volunteer interest .. subject to real world testing.
This commit is contained in:
Jonathan Rosenbaum
2015-03-03 10:27:11 +00:00
parent 88d717cdca
commit cf3cfe8838
4 changed files with 17 additions and 4 deletions
+11
View File
@@ -193,3 +193,14 @@ ALTER TABLE transaction_log ADD change_fund float DEFAULT NULL;
ALTER TABLE transaction_log ADD anonymous tinyint(1) NOT NULL DEFAULT '0';
ALTER TABLE transaction_log ADD history longblob NOT NULL;
ALTER TABLE transaction_log MODIFY description text(2048) DEFAULT NULL;
-- options
-- some what borrowed from WordPress
-- Currently just for variable values like found in the Volunteer Interest inventory
-- where values may be 0 or 1 or text.
CREATE TABLE IF NOT EXISTS options (
id int(10) unsigned NOT NULL,
option_name varchar(64) NOT NULL,
option_value text NOT NULL,
PRIMARY KEY (option_name)
);