Skip to content

Commit

Permalink
record time that a resource was added in e-portfolio resource collection
Browse files Browse the repository at this point in the history
  • Loading branch information
plessas committed Nov 17, 2016
1 parent ece0007 commit ca08082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions install/install_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,7 @@
`resource_type` VARCHAR(50) NOT NULL,
`course_id` INT(11) NOT NULL,
`course_title` VARCHAR(250) NOT NULL DEFAULT '',
`time_added` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
`data` TEXT NOT NULL,
INDEX `eportfolio_res_index` (`user_id`,`resource_type`)) $tbl_options");

Expand Down
1 change: 1 addition & 0 deletions upgrade/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3460,6 +3460,7 @@ function ($resource) use (&$i) {
`resource_type` VARCHAR(50) NOT NULL,
`course_id` INT(11) NOT NULL,
`course_title` VARCHAR(250) NOT NULL DEFAULT '',
`time_added` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
`data` TEXT NOT NULL,
INDEX `eportfolio_res_index` (`user_id`,`resource_type`)) $charset_spec");

Expand Down

0 comments on commit ca08082

Please sign in to comment.