Skip to content

Commit

Permalink
Fix SQL
Browse files Browse the repository at this point in the history
  • Loading branch information
H.A committed Aug 18, 2020
1 parent eb6b77d commit cb25604
Show file tree
Hide file tree
Showing 23 changed files with 24 additions and 23 deletions.
3 changes: 2 additions & 1 deletion component/admin/models/promotions.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ protected function getStoreId($id = '')
/**
* Method to build an SQL query to load the list data.
*
* @return string An SQL query
* @return string An SQL query
* @since __DEPLOY_VERSION__
*/
protected function getListQuery()
{
Expand Down
2 changes: 1 addition & 1 deletion component/admin/sql/install/mysql/install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1722,7 +1722,7 @@ COMMENT = 'redSHOP Product Voucher Transaction';
-- -----------------------------------------------------
DROP TABLE IF EXISTS `#__redshop_product_voucher_transaction` ;

CREATE TABLE NOT EXISTS `#__redshop_promotion` (
CREATE TABLE IF NOT EXISTS `#__redshop_promotion` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
Expand Down
2 changes: 1 addition & 1 deletion component/admin/sql/updates/mysql/3.0.3.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SET FOREIGN_KEY_CHECKS = 0;

CREATE TABLE NOT EXISTS `#__redshop_promotion` (
CREATE TABLE IF NOT EXISTS `#__redshop_promotion` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
Expand Down
2 changes: 1 addition & 1 deletion media/com_redshop/js/ajaxupload.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cb25604

Please sign in to comment.