-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added code to save add-on actions * Updated lesson feed to output addons * Fixed file upload for non-bundles * Switch to public addon feed * Updated db table scripts
- Loading branch information
Showing
15 changed files
with
112 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
DROP TABLE IF EXISTS `actions`; | ||
|
||
CREATE TABLE `actions` ( | ||
`id` char(11) NOT NULL, | ||
`churchId` char(11) DEFAULT NULL, | ||
`lessonId` char(11) DEFAULT NULL, | ||
`roleId` char(11) DEFAULT NULL, | ||
`id` char(11) CHARACTER SET latin1 NOT NULL, | ||
`churchId` char(11) CHARACTER SET latin1 DEFAULT NULL, | ||
`lessonId` char(11) CHARACTER SET latin1 DEFAULT NULL, | ||
`roleId` char(11) CHARACTER SET latin1 DEFAULT NULL, | ||
`actionType` varchar(45) DEFAULT NULL, | ||
`content` text, | ||
`sort` int(11) DEFAULT NULL, | ||
`resourceId` char(11) DEFAULT NULL, | ||
`assetId` char(11) DEFAULT NULL, | ||
`resourceId` char(11) CHARACTER SET latin1 DEFAULT NULL, | ||
`assetId` char(11) CHARACTER SET latin1 DEFAULT NULL, | ||
`externalVideoId` char(11) DEFAULT NULL, | ||
`addOnId` char(11) DEFAULT NULL, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CREATE TABLE `addOns` ( | ||
`id` char(11) NOT NULL, | ||
`churchId` char(11) DEFAULT NULL, | ||
`providerId` char(11) DEFAULT NULL, | ||
`category` varchar(45) DEFAULT NULL, | ||
`name` varchar(45) DEFAULT NULL, | ||
`image` varchar(1000) DEFAULT NULL, | ||
`addOnType` varchar(45) DEFAULT NULL, | ||
`fileId` char(11) DEFAULT NULL, | ||
PRIMARY KEY (`id`) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
DROP TABLE IF EXISTS `files`; | ||
|
||
CREATE TABLE `files` ( | ||
`id` char(11) NOT NULL, | ||
`churchId` char(11) DEFAULT NULL, | ||
`id` char(11) CHARACTER SET latin1 NOT NULL, | ||
`churchId` char(11) CHARACTER SET latin1 DEFAULT NULL, | ||
`fileName` varchar(255) DEFAULT NULL, | ||
`contentPath` varchar(1024) DEFAULT NULL, | ||
`fileType` varchar(45) DEFAULT NULL, | ||
`size` int(11) DEFAULT NULL, | ||
`dateModified` datetime DEFAULT NULL, | ||
`filePath` varchar(1024) DEFAULT NULL, | ||
`seconds` int(11) DEFAULT NULL, | ||
`thumbPath` varchar(1024) DEFAULT NULL, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters