forked from Eoxia/priseo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…clude
- Loading branch information
1 parent
1a49682
commit a68fb94
Showing
5 changed files
with
82 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-- Copyright (C) 2022 Florian HENRY <[email protected]> | ||
-- Copyright (C) 2022-2023 EOXIA <dev@eoxia.com> | ||
-- Copyright (C) 2022-2024 EVARISK <technique@evarisk.com> | ||
-- | ||
-- This program is free software: you can redistribute it and/or modify | ||
-- it under the terms of the GNU General Public License as published by | ||
|
@@ -15,20 +15,20 @@ | |
-- along with this program. If not, see https://www.gnu.org/licenses/. | ||
|
||
CREATE TABLE llx_priseo_competitorprice( | ||
rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, | ||
ref varchar(128) NOT NULL, | ||
entity integer DEFAULT 1 NOT NULL, | ||
date_creation datetime NOT NULL, | ||
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
status integer NOT NULL, | ||
label varchar(255), | ||
amount_ht double DEFAULT NULL, | ||
amount_ttc double DEFAULT NULL, | ||
vat double DEFAULT NULL, | ||
url_competitor varchar(1024), | ||
competitor_date datetime, | ||
fk_product integer NOT NULL, | ||
fk_soc integer NOT NULL, | ||
fk_user_creat integer NOT NULL, | ||
fk_user_modif integer | ||
) ENGINE=innodb; | ||
rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, | ||
ref varchar(128) NOT NULL, | ||
entity integer DEFAULT 1 NOT NULL, | ||
date_creation datetime NOT NULL, | ||
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
status integer DEFAULT 1 NOT NULL, | ||
label varchar(255), | ||
amount_ht double DEFAULT NULL, | ||
amount_ttc double DEFAULT NULL, | ||
vat double DEFAULT NULL, | ||
url_competitor varchar(1024), | ||
competitor_date datetime, | ||
fk_product integer NOT NULL, | ||
fk_soc integer NOT NULL, | ||
fk_user_creat integer NOT NULL, | ||
fk_user_modif integer | ||
) ENGINE=innodb; |
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,18 @@ | ||
-- Copyright (C) 2024 EVARISK <[email protected]> | ||
-- | ||
-- This program is free software: you can redistribute it and/or modify | ||
-- it under the terms of the GNU General Public License as published by | ||
-- the Free Software Foundation, either version 3 of the License, or | ||
-- (at your option) any later version. | ||
-- | ||
-- This program is distributed in the hope that it will be useful, | ||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
-- GNU General Public License for more details. | ||
-- | ||
-- You should have received a copy of the GNU General Public License | ||
-- along with this program. If not, see https://www.gnu.org/licenses/. | ||
|
||
-- 1.2.0 | ||
ALTER TABLE `llx_priseo_competitorprice` CHANGE `status` `status` INT NOT NULL DEFAULT '1'; | ||
UPDATE `llx_priseo_competitorprice` SET `status` = 1 WHERE `status` = 0; |
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