mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 02:11:38 -04:00
Puts all volunteer data into one column called "volunteer".
* Reflects the changes in json, and adds more definition to the json callback.
This commit is contained in:
+7
-2
@@ -68,18 +68,23 @@ INSERT INTO projects (project_id, date_established, active, public) VALUES
|
||||
-- SELECT CONCAT_WS('","', col1, col2, ..., coln) FROM my_table;
|
||||
--
|
||||
-- Added waiver
|
||||
--
|
||||
-- Added a volunteer column to keep track of volunteer hours redeemed, max bike earned, and
|
||||
-- the current year the hours apply to, when a new year begins everything is zeroed out.
|
||||
|
||||
|
||||
DELETE FROM shop_hours;
|
||||
DELETE FROM contacts;
|
||||
ALTER TABLE contacts AUTO_INCREMENT = 1;
|
||||
ALTER TABLE contacts ADD waiver tinyint(1) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE contacts ADD volunteer varchar(15) NOT NULL DEFAULT '';
|
||||
INSERT INTO contacts (
|
||||
contact_id, first_name, middle_initial, last_name, email, phone, address1,
|
||||
address2, city, state, country, receive_newsletter, date_created,
|
||||
invited_newsletter, DOB, pass, zip, hidden, location_name, location_type,
|
||||
waiver
|
||||
waiver, volunteer
|
||||
) VALUES
|
||||
(1,"Jonathan","","Rosenbaum","info@positivespin.org","","","","Morgantown","WV","","1","2014-12-12 18:19:35",0,"2005-11-09","test","26501","0","",NULL, 1);
|
||||
(1,"Jonathan","","Rosenbaum","info@positivespin.org","","","","Morgantown","WV","","1","2014-12-12 18:19:35",0,"2005-11-09","test","26501","0","",NULL, 1,"");
|
||||
|
||||
-- Set-up transaction types
|
||||
-- This is object orienteed like :)
|
||||
|
||||
Reference in New Issue
Block a user