Queries added to create Api key field on fresh install and upgrader

This commit is contained in:
Saqib Razzaq 2016-06-16 03:18:05 -07:00
parent 266e08b93f
commit f3e4596914
2 changed files with 2 additions and 1 deletions

View file

@ -1199,7 +1199,7 @@ INSERT INTO `{tbl_prefix}config` (`name`, `value`) VALUES ('secretId', 'your_cli
UPDATE `{tbl_prefix}config` SET value = 'cb_28' WHERE name = 'template_dir';
ALTER TABLE `{tbl_prefix}collection_categories` ADD `parent_id` int DEFAULT 1;
INSERT INTO `{tbl_prefix}config` (`configid`, `name`, `value`) VALUES (NULL, 'youtube_api_key', 'key_here');
/*Indexing of following tables*/
/*Author: Sikander Ali */
/*Cb_collection*/

View file

@ -6,6 +6,7 @@ INSERT INTO `{tbl_prefix}config` (`name`, `value`) VALUES ('clientid', 'your_cli
INSERT INTO `{tbl_prefix}config` (`name`, `value`) VALUES ('secretId', 'your_client_secret_here');
ALTER TABLE `{tbl_prefix}collection_categories` ADD `parent_id` int DEFAULT 1;
INSERT INTO `{tbl_prefix}config` (`configid`, `name`, `value`) VALUES (NULL, 'youtube_api_key', 'key_here');
/*Indexing of following tables*/
/*Author: Sikander Ali */