Commit Graph

7 Commits

Author SHA1 Message Date
Hristo Georgiev 159c63a4db Fix comment typos and remove an outdated todo. 2020-05-08 13:40:04 +01:00
Shawn Kwang b44a8c8455 db: Renamed database field 'protect' to 'project_specific' 2018-09-17 12:55:55 -05:00
Shawn Kwang 4cb30b1a8b Removed unnecessary primary_key from insert statements. 2018-09-17 12:55:50 -05:00
Shawn Kwang 59697b7929 db: Renamed database field 'protectedct' to 'protect'. 2018-08-31 13:58:28 -05:00
Shawn Kwang 74a545460a Modified variable 'protected' in consent_type table to be 'protectedct'. 'protected' is a reserve word in some languages: C++. 2018-08-28 12:41:44 -05:00
Shawn Kwang 431d8d6542 db: Modified database definitions for consent_type table.
Consent_type table uses id, and consent table now refers to consent_type_id instead of name.
Additionally, added index of consent_time to consent table.
2018-06-15 14:50:48 -05:00
Shawn Kwang cc6efacb8d db: Reorganize database changes, and add indices to new tables.
Added indices to consent and consent_type tables.
Moved initial content of consent_type table to new SQL file: content.sql
Modified database.py to insert new content.sql into database. In python autocommit is turned off by default, thus a manualy commit() was added.
Updated db_update.php to match changes in db/.
2018-06-12 12:08:26 -05:00